[MacRuby] #153: TypeError not raised for 'String + nil'
#153: TypeError not raised for 'String + nil' -------------------------------------+-------------------------------------- Reporter: parzival@mindspring.com | Owner: lsansonetti@apple.com Type: defect | Status: new Priority: minor | Milestone: Component: MacRuby | Keywords: -------------------------------------+-------------------------------------- This is fairly minor since it's something that ought not to happen, except that both macirb and macruby lock up when it happens. This works (well, you get the expected error):
"stuff" << nil TypeError: can't convert nil into String
This does not:
"stuff" + nil
I end up having to kill it. I've tried it with both 0.3 and the latest testing branch. -- Ticket URL: <http://www.macruby.org/trac/ticket/153> MacRuby <http://macruby.org/>
#153: TypeError not raised for 'String + nil' -------------------------------------+-------------------------------------- Reporter: parzival@mindspring.com | Owner: lsansonetti@apple.com Type: defect | Status: closed Priority: minor | Milestone: MacRuby 0.4 Component: MacRuby | Resolution: fixed Keywords: | -------------------------------------+-------------------------------------- Changes (by lsansonetti@apple.com): * status: new => closed * resolution: => fixed * milestone: => MacRuby 0.4 Comment: Fixed in #711/trunk. -- Ticket URL: <http://www.macruby.org/trac/ticket/153#comment:1> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby