retronym

Brisbane, Australia

twitter.com/retronym

Age: 36

1d
comment In Scala, why unchecked warning is not issued for type arguments?
I've lodged issues.scala-lang.org/browse/SI-9188 to track this.
1d
comment In Scala, why unchecked warning is not issued for type arguments?
Yep, that's a bug. Please open a ticket, I'll take a look at the problem.
2d
awarded Good Answer
Feb
10
awarded Great Answer
Feb
6
awarded Nice Answer
Jan
28
awarded Guru
Dec
17
comment Implicit parameters break type inference or inference does not suffice for their resolution?
Here is a comparison of the typechecking internals for the program with and without the implicit parameter: rawgit.com/retronym/22260bca2087f21cfd41/raw/out.html Without an implicit parameter, the undetermined type variable O is inferred as Nothing in order to adapt the result type of execute to the declared typed Int. With the implicit parameter, the implicit search for Ord[O] cannot resolves a unique matching implicit, and typechecking fails before considering Int.
Nov
19
awarded Good Question
Nov
19
comment Error in Scala Maven recompilation without code change
I've just pushed a fix which will be available in 2.12.0-M1 and in 2.11.5 -Xsource:2.12.
Nov
13
comment Why do I need jsr305 to use guava in scala?
Scala 2.11.1 and above now handle the missing annotations gracefully; you no longer need jsr305 on the classpath.
Oct
17
awarded Enlightened
Oct
6
answered Scala compiler plugin to rewrite method calls
Sep
30
awarded Explainer
Sep
17
answered Pinning list elements to position in a merged list in Scala
Aug
20
awarded Yearling
Jul
21
answered presentation compiler: type completion in method call with more than one argument
Jul
21
comment presentation compiler: type completion in method call with more than one argument
If you can express the issue with a failing test case of the presentation compiler, I can take a look. Just follow the pattern from my commit above and run ant build; ./test/partest --update-check test/files/presentation/my-test-case to run the test and produce a check file with the completion list. More docs about writing presentation compiler tests: github.com/scala/scala/blob/2.11.x/src/interactive/scala/tools/…
Jul
20
comment presentation compiler: type completion in method call with more than one argument
What version of Scala are you using? I just tested this with 2.11, and both variants offer completions: github.com/retronym/scala/compare/scala:2.11.x...topic/…
Jul
2
awarded Curious
Mar
24
comment Hidden performance cost in Scala?
Great answer. Would be even greater if you added the bytecode listings of the two methods!
1 2 3 4 5