jhass / crystal-gobject

gobject-introspection for Crystal
BSD 3-Clause "New" or "Revised" License
127 stars 13 forks source link

No Overload Matches with Type Path #91

Open Tarbetu opened 3 years ago

Tarbetu commented 3 years ago

I believe that Builder should work with Path class. Example:

Error target notebook_for_me failed to compile:
Showing last frame. Use --error-trace for full trace.

In src/gui.cr:6:28

 6 | builder = Gtk::Builder.new_from_file glade_file
                            ^------------
Error: no overload matches 'Gtk::Builder.new_from_file' with type Path

Overloads are:
 - Gtk::Builder.new_from_file(filename : ::String)

Steps to produce:

Information about Path