ngs-doo / revenj

DSL Platform compatible backend
https://dsl-platform.com
BSD 3-Clause "New" or "Revised" License
268 stars 44 forks source link

Client lib does not compile DSL with mixin #108

Closed Kobus-Smit closed 6 years ago

Kobus-Smit commented 6 years ago

Client library does not compile for this dsl: (Compiler: 2.1.6732.31277)

module Test {

mixin MyMixin {
    string ABC;
}

root MyRoot { 
    has mixin MyMixin;
}

}
Error during compilation:
No overload for method 'Clone' takes 1 arguments

image

Test project: https://github.com/Kobus-Smit/revenj-examples/tree/master/MixinCompileError

zapov commented 6 years ago

Tnx for the bug report. Fixed in the latest compiler version

Kobus-Smit commented 6 years ago

Thanks @zapov