liquidev/euwren

Allow for foreign types without constructors

liquidev opened this issue · 1 comments

Related: #7

Something similar to this should be allowed:

wren.foreign("module"):
  MyClass:
    {.noconstr.}

This should register the class as a foreign class in the generated module, but prevent construct new(…) {} from generating.

Implemented in 0.7.0.