Comments (1)
Now I have a prototype for this, the result looks promising:
(before)
newSource1.scala:8: error: implicit error;
!I e: Option[Int] =:= Option[String]
Cannot prove that FoundReqVsImplicit.vecInt.Head =:= Option[String].
implicitly[vecInt.Head =:= Option[String]]
^
newSource1.scala:10: error: type mismatch;
Option[String|Int]
val x: vecInt.Head = ??? : Option[String]
^
(after)
newSource1.scala:8: error: implicit error;
!I e:
Option[Int]
.. (reduced from)
FoundReqVsImplicit.vecInt.Head[Int]
=:=
Option[String]
Cannot prove that FoundReqVsImplicit.vecInt.Head =:= Option[String].
implicitly[vecInt.Head =:= Option[String]]
^
newSource1.scala:10: error: type mismatch;
Option[String|Int]
.. (right side reduced from)
FoundReqVsImplicit.vecInt.Head[Int]
val x: vecInt.Head = ??? : Option[String]
^
from splain.
Related Issues (20)
- Release countdown for 1.0.1 HOT 2
- Publish 1.0.1 for scala 2.13.9 & 2.13.10 HOT 3
- Release binaries for latest 2.12 HOT 5
- 1.0.2 release countdown HOT 2
- Confused about difference between built in and 1.x HOT 6
- Compatibility with Java 8 is still sketchy on Gradle HOT 1
- Refined type signature may be hidden HOT 1
- Color was dropped but still exist in doc
- Unify integration/acceptance test formats across (Scala compiler) builtin cases & plugin cases
- Release countdown 1.0.3 HOT 2
- Release planning for 1.1.0
- Indented formats for Refined types and Tuple types
- Differentiating ambiguous type texts for type diff and type bound evidences HOT 1
- Attach existential context & alias annotations to type text on demand HOT 1
- Add instructions for scala CLI
- API/settings cleanup for new features added to 1.1.0 HOT 6
- reduction detail may display incorrect infix. HOT 2
- Long, multirow format for diff(found | required) HOT 3
- 1.1.0 release countdown HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from splain.