Aladdin - Scala Bugtracking
[#998] project: interpreter priority: low category: bug
submitter assigned to status date submitted
Nikolay Lex fixed 2007-03-13 10:19:58.0
subject [contrib #372] Implicits don't work in interpreter
code
def x(a : Int)(implicit b : Int) = a + b
implicit val b = 4
x(3)
what happened
error: no implicit argument matching parameter type scala.Int was found
what expected 7
[back to overview]
Changes of this bug report
Nikolay  edited on  2007-03-13 10:20:37.0
contribution #372. Assigned to Lex because it only fails in the interpreter
Lex  edited on  2007-06-04 11:36:57.0
This works nowadays. Class Interpreter now imports all previous implicit definitions, thus making them available to the type checker.