wolfe-pack / wolfe

Wolfe Language and Engine
https://wolfe-pack.github.io/wolfe
Apache License 2.0
135 stars 17 forks source link

imports in model leads to compilation error (sometimes...) #97

Closed insperatum closed 9 years ago

insperatum commented 10 years ago
  case class Person(name:String, age:Int)
  implicit def names = Seq("Luke", "Tim")
  implicit def ages = Seq(22, 27)

  def model(p:Person) = {
    import p._
    age
  }

  argmax(all(Person)) (model)
  //Error:scalac: uncaught exception during compilation: java.lang.AssertionError
riedelcastro commented 9 years ago

Not an issue anymore since move away from macros