DSL with implements and specification does not compile
Kobus-Smit opened this issue · comments
Kobus Smit commented
This DSL does not compile: (Compiler: 2.1.6723.35354)
module InterfaceTest {
root Person {
implements c# 'InterfaceTest.IPerson';
string Name;
specification FindByName 'it => it.Name == name' { string name; }
}
}
Internal compiler error. Error compiling object model: Error during compilation:
Error: The type or namespace name 'IPerson' does not exist in the namespace 'InterfaceTest' (are you missing an assembly reference?) in global::InterfaceTest.Person near: IPerson
It does compile when commenting the implements
line or commenting the specification
line or unchecking Postgres migration
Test project: https://github.com/Kobus-Smit/revenj-examples/tree/master/InterfaceAndSpecification
zapov commented
Tnx for the bug report.
I've uploaded a new build, I think it should fix your problem (didn't actually test it)
Kobus Smit commented
Fixed, thanks @zapov