> How to avoid this compiler bug?

Sorry, can not reproduce with recent devel compiler on Linux.
    
    
    import gintro/[gtk, glib, gobject, gio]
    
    proc appActivate(app: Application) =
      let window = newApplicationWindow(app)
      window.title = "GTK3 & Nim"
      window.defaultSize = (200, 200)
      let toolbar = newToolbar()
      showAll(window)
    
    proc main =
      let app = newApplication("org.gtk.example")
      connect(app, "activate", appActivate)
      discard run(app)
    
    main()
    
    
    Run

Compiles and runs fine. Are you using mac, FreeBSD or Windows? Can you provide 
small compilable code example?

Reply via email to