[MacRuby] #967: Boolean pointer creation assertion
MacRuby
ruby-noreply at macosforge.org
Mon Oct 25 00:16:41 PDT 2010
#967: Boolean pointer creation assertion
-------------------------------------+--------------------------------------
Reporter: mattaimonetti@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
-------------------------------------+--------------------------------------
When trying to create a pointer to a boolean using this syntax:
{{{
Pointer.new(:boolean)
}}}
MacRuby isn't happy:
{{{
Assertion failed: (size > 0), function convert_type, file compiler.cpp,
line 5808.
Abort trap
}}}
However, using the alternative syntax:
{{{
Pointer.new_with_type(:B)
}}}
just works fine.
--
Ticket URL: <http://www.macruby.org/trac/ticket/967>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list