stanford-ppl / Forge

A prototype meta DSL that generates Delite DSL implementations from a specification-like program.
49 stars 23 forks source link

Record lifting isn't functioning properly #39

Open asujeeth opened 11 years ago

asujeeth commented 11 years ago

Constructing a new Record { ... } from application code fails mysteriously in many cases. Possibly related to missing implicits or ambiguous implicits in scope.

asujeeth commented 11 years ago

This appears to be mostly a Scala-Virtualized issue (though it isn't clear why it seems to work better in non-generated Delite DSLs). The situation is somewhat improved in 2.10.2-RC1: the compiler isn't crashing anymore (at least in some cases), but is instead reporting errors related to being unable to apply infix methods inside the new Record scope.