#660: ER: Pointer needs a #cast for untyped pointers
---------------------------------------+------------------------------------
Reporter: joshua.balla...@… | Owner: lsansone...@…
Type: defect | Status: closed
Priority: blocker | Milestone: MacRuby 0.6
Component: MacRuby | Resolution: fixed
Keywords: |
---------------------------------------+------------------------------------
Changes (by lsansone...@…):
* status: new => closed
* resolution: => fixed
* milestone: => MacRuby 0.6
Comment:
I added the Pointer#cast! method in r3945 + specs in r3946. However in
your case, I recommend using the following instead:
{{{
framework 'CoreData'
val = NSPersistentStoreCoordinator.registeredStoreTypes[NSSQLiteStoreType]
klass = val.nonretainedObjectValue
klass.migrationManagerClass
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/660#comment:1>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel