Closed marioboi3112 closed 2 months ago
There is a name conflict between your source file app.nim
and the identifier app
used by NiGui.
Two possible solution:
app.init()
by nigui.app.init()
and app.run()
by nigui.app.run()
There is a name conflict between your source file
app.nim
and the identifierapp
used by NiGui. Two possible solution:* Rename your source file. * Replace `app.init()` by `nigui.app.init()` and `app.run()` by `nigui.app.run()`
yeah i saved the file as app.nim never knew it would make a conflict, thanks for the help, appreciate it!
So i was trying to write a program in linux but for some reason it says that init is an undeclared identifier, even tho that i have imported nigui,
here is the code in case i missed anything,