Dale Wijnand
090eab0736
Get rid of Eval
2017-07-07 09:50:36 +01:00
Dale Wijnand
f0057fcdec
Rename to StrictMode
2017-07-07 09:50:35 +01:00
Dale Wijnand
0713e31cea
Allow opting out of the fallback OptJsonWriter
...
Simply
import OptJsonWriter.OptOut._
And you'll get the implicit lift, but not the implicit fallback.
You get an ambiguous compile error like this:
[error] /d/sbt-util/internal/util-collection/src/main/scala/sbt/util/OptJsonWriter.scala:28: ambiguous implicit values:
[error] both method conflictingFallback1 in trait OptOut0 of type [A]=> sbt.util.NoJsonWriter[A]
[error] and method conflictingFallback2 in trait OptOut0 of type [A]=> sbt.util.NoJsonWriter[A]
[error] match expected type sbt.util.OptJsonWriter[Foo]
[error] val x = implicitly[OptJsonWriter[Foo]]
[error] ^
2017-07-07 09:50:35 +01:00
Dale Wijnand
9cfa17d09e
Move OptJsonWriter to public API
2017-07-07 09:50:34 +01:00
Dale Wijnand
ae4e53ceb0
Define OptJsonWriter & put it on AttributeKey
2017-07-07 09:50:34 +01:00
Eugene Yokota
73b24681c5
Implements registerStringCodec
...
Uses TypeTag to recover the full name of type parameter, which is calculated by StringTypeTag. This is sent along in ObjectEvent.
On the other end, we can lookup typeclass instances using the tag key.
2017-07-07 09:50:32 +01:00
Eugene Yokota
cfc5efe798
Work around Scala 2.12 init deadlock (SI-9824)
2017-07-07 09:50:30 +01:00
Eugene Yokota
58be28e399
Update Eval
...
https://github.com/typelevel/cats/blob/e2335730a958ce605f0d75f1b0d838454
2336aaf/core/src/main/scala/cats/Eval.scala
2017-07-07 09:50:30 +01:00
Dale Wijnand
1526bf4f85
Remove deprecated methods
2017-07-07 09:50:28 +01:00
Dale Wijnand
042d3de956
Really expose Eval. Fixes error in #50
2017-07-07 09:50:27 +01:00
Dale Wijnand
f6e4c7c85e
Expose Eval. Fixes sbt/sbt#2616
2017-07-07 09:50:25 +01:00
Dale Wijnand
84af84c301
Un-deprecate now-private methods
2017-07-07 09:50:22 +01:00
Dale Wijnand
c4e6caf0ed
Remove Attribute#rawLabel
2017-07-07 09:50:22 +01:00
Dale Wijnand
8cc4a54c40
Add -Ywarn-unused & -Ywarn-unused-import, & fix warnings
2017-07-07 09:50:21 +01:00
Eugene Yokota
b64e505746
Update dependencies
2017-07-07 09:50:20 +01:00
Eugene Yokota
d9bd056a29
Remove some warnings
2017-07-07 09:50:16 +01:00
Eugene Yokota
1361e4f18d
Rename Eval#value to get
2017-07-07 09:50:15 +01:00
Eugene Yokota
f76b2d05d5
Add Eval from Cats - a8ba943fff/core/src/main/scala/cats/Eval.scala
2017-07-07 09:50:14 +01:00
Dale Wijnand
db08c77660
Unexecute Positions
2017-07-07 09:50:10 +01:00
Eugene Yokota
7a6253a5c3
Fixes sbt/util#14 by rolling back 6175d92338
2017-07-07 09:50:09 +01:00
Eugene Yokota
2cefe315f2
New house rules
2017-07-07 09:50:08 +01:00
Eugene Yokota
3bb53ae4fc
sbt.util.internal -> sbt.internal.util package
2017-07-07 09:50:05 +01:00
Eugene Yokota
53e719656f
Move util into sbt.util.internal package
2017-07-07 09:50:03 +01:00
Eugene Yokota
7e3ad3631c
Removes a warning. Ref #4
...
Exhaustion check was not picking up StaticScopes, which is an object.
2017-07-07 09:50:02 +01:00
Martin Duhem
6c7e69497f
Add recommended compiler flags, fix most of the warnings
2017-07-07 09:50:00 +01:00
Martin Duhem
c0f55127db
Add sbt-houserules, formatting.
2017-07-07 09:49:59 +01:00
Eugene Yokota
7f57853f23
move modules around.
2017-07-07 09:49:58 +01:00