liquidev / euwren

High-level Wren wrapper for Nim
MIT License
36 stars 0 forks source link

Allow for foreign types without constructors #8

Closed liquidev closed 4 years ago

liquidev commented 4 years ago

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.

liquidev commented 4 years ago

Implemented in 0.7.0.