You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Doing `implicitly[Parser[CliOptions]]` also reproduces it.)
781
+
Doing `implicitly[Parser[CliOptions]]` also reproduces it.
782
782
783
-
Among all the logs, this is the one that calls most my attention.
783
+
Among all the logs, this is the one that attracts my attention the most.
784
784
785
785
```
786
786
/data/rw/code/scala/loop/frontend/src/main/scala/bloop/cli/CliParsers.scala:48:37: shapeless.this.Generic.materialize is not a valid implicit value for shapeless.Generic.Aux[bloop.cli.CommonOptions,V] because:
@@ -818,7 +818,7 @@ and
818
818
The problem of incorrect instantiated type arguments we saw before seems
819
819
specific to the way the compiler carries out the implicit search. Fixing it
820
820
requires most likely changes to the implicit search algorithm, as [a similar
821
-
scala/bug did](https://github.com/scala/bug/issues/10528). I tried porting
821
+
Scala compiler issue](https://github.com/scala/bug/issues/10528) did. I tried porting
822
822
these changes to 2.12.x and use `-Xsource:2.13` but the failed macro
823
823
expansions didn't go away.
824
824
@@ -943,7 +943,7 @@ and the returned refinement type from the macro was `Option[String] ::
943
943
this.P`.
944
944
945
945
We can try to debug and expand all type parameters, see what we get and
946
-
continue the exploration from there. But whenever we find such a misterious
946
+
continue the exploration from there. But whenever we find such a mysterious
947
947
open-ended error, it's difficult to pinpoint what the real problem and fix
948
948
should be.
949
949
@@ -1006,12 +1006,12 @@ experienced with the codebase have a look at it. If we're lucky, someone will
1006
1006
fix this issue upstream soon and we'll benefit from this speed up when we
1007
1007
upgrade.
1008
1008
1009
-
(After discussing this issue with [Miles](https://github.com/milessabin/) we
1009
+
After discussing this issue with the author of Shapeless, [Miles Sabin](https://github.com/milessabin/), we
1010
1010
both agree the strict/lazy macro is not handling refinement types correctly
1011
1011
and that this performance penalty is a bug. This bug will most likely be fixed
1012
1012
in a future version of Shapeless after 2.3.3 for all its users. Some of these
1013
1013
performance implications will be gone with Scala 2.13, that adds by-name
1014
-
implicits to the compiler.)
1014
+
implicits to the compiler.
1015
1015
1016
1016
#### Deduplicating more expansions
1017
1017
@@ -1243,8 +1243,8 @@ Done compiling.
1243
1243
It is safe to say it out loud now: we have reduced compilation time from 32.5
1244
1244
seconds to 4 seconds. That's an **8x reduction in our compile time**.
1245
1245
1246
-
A great result taking into account that we've only modified around 30 lines
1247
-
of code.
1246
+
A great result taking into account that we've only [modified around 30 lines
1247
+
of codein Bloop](https://github.com/scalacenter/bloop/pull/509).
1248
1248
1249
1249
## Conclusion
1250
1250
@@ -1294,6 +1294,8 @@ knowledge to invalidate caching depending on the kind of macro and call-site.
1294
1294
There's a bright future ahead of us and we are working hard to get there.
1295
1295
1296
1296
In the meanwhile, this blog post aims to provide all the possible data to
1297
-
alleaviate the compile times of users that leverage automatic typeclass
1297
+
alleviate the compile times of users that leverage automatic typeclass
1298
1298
derivation. I hope this blog post helps make your team more productive with
0 commit comments