gtkd-developers / GtkD

GtkD is a D binding and OO wrapper of GTK+ originally created by Antonio Monteiro
http://gtkd.org
Other
322 stars 71 forks source link

Incorrectly spelled method name in TreeModelIF.d #212

Closed Racinettee closed 7 years ago

Racinettee commented 7 years ago

In TreeModelIF.d on line 288 the foreach method is spelled foreac

MikeWey commented 7 years ago

As you may have found out, foreach is a keyword so it can't be used.

GtkD drops the last character to get around this, an other option would have been to pre of postfix an underscore.

Racinettee commented 7 years ago

I had a short lapse regarding the existence or a foreach keyword, sorry.