khchen / wNim

Nim's Windows GUI Framework
MIT License
327 stars 17 forks source link

--gc:arc fails on tictactoe.nim example #57

Closed mathysr closed 4 years ago

mathysr commented 4 years ago

Compiling the tictactoe.nim example with --gc:arc fails. Giving following error:

Error: cannot bind another '=destroy' to: FlowVarObj; previous declaration was constructed here implicitly: ... .nimble\pkgs\wnim-0.11.1\wNim\private\wMacros.nim(128, 18)

I see no final method in tictactoe.nim, but then it gets in trouble somewhere the wMacros.nim module, even when adding a final method to the tictactoe.nim file.

Nim version 1.2.4 on Windows AMD64 wNim@0.11.1

khchen commented 4 years ago

I am sure that this is bug of nim compiler, not bug of wNim.