ba0f3 / uibuilder.nim

UI prototyping w/ Glade for lazy me
https://glade.gnome.org/
MIT License
22 stars 3 forks source link

Err: "cannot evaluate at compile time: state" #5

Closed ThomasTJdev closed 4 years ago

ThomasTJdev commented 4 years ago

Hi @ba0f3

I just got an issue on the nimblegui due to an error while compiling. Are you going for an update of uibuilder anytime soon?

/nim/nim_nimble_gui/nimblegui.nim(7, 6) template/generic instantiation of `build` from here
/.choosenim/toolchains/nim-1.0.4/lib/pure/random.nim(593, 3) Error: cannot evaluate at compile time: state
ba0f3 commented 4 years ago

Pegs stopped working in compile time https://github.com/nim-lang/Nim/issues/9009, I will try to make a workaround when I have spare time.

Thank you and Happy New Year!

ThomasTJdev commented 4 years ago

Super :) !

Happy New Year to you too :tada:

ThomasTJdev commented 4 years ago

Hi @ba0f3

I hope you had a great New Year :wink: - any plans for this?

ba0f3 commented 4 years ago

Oh gosh, I'm sorry I forgot about this. I will take a look tonight

ThomasTJdev commented 4 years ago

Hi @ba0f3

Just to let you know, I have just accepted a PR for nimble_gui, which implementes webgui instead of uibuilder...

ba0f3 commented 4 years ago

glad that you found a way to moving forward. Im sorry but libui is a big dead elephant therefor fixing its related projects is my lowest priority.