[Ironruby-core] calling non generic method that has a generic overload
lists at ruby-forum.com
Thu Jul 30 07:25:28 EDT 2009
i'm trying to using IR with NHibernate so i can a nice REPL experience.
the issue i'm having is that I'm calling a method List() on the class
ISQLQuery, which returns an IList, but ISQLQuery also has a generic
>>> sql = "some sql... etc"
>>> query = qm.Session.CreateSQLQuery(sql)
>>> list = query.list
:0: generic arguments could not be infered for method 'list'
i did a print of all the methods on the query class and it has a single
i'm on edge ironruby, refreshed just 1 hour ago.
Posted via http://www.ruby-forum.com/.
More information about the Ironruby-core