[Pharo-dev] FileSystem-Git status update 3

Max Leske maxleske at gmail.com
Wed Apr 9 11:30:45 EDT 2014


On 09.04.2014, at 17:25, Sean P. DeNigris <sean at clipperadams.com> wrote:

> Max Leske wrote
>>> In NB, how do I pass NULL into a function call without modifying the
>>> argument type? e.g. my argument has type String. passing something like
>>> `NBExternalAddress null` will be converted into a C string instead of
>>> being passed through (I know, that seems to be the point in this case but
>>> I couldn't find any other way to create NULL). Any suggestions?
> 
> I think you just pass nil, no?

One would think so, but no… :)
NB will signal an exception because UndefinedObject is not of the expected type.

> 
> 
> 
> -----
> Cheers,
> Sean
> --
> View this message in context: http://forum.world.st/Re-FileSystem-Git-status-update-3-tp4753427p4753648.html
> Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
> 





More information about the Pharo-dev mailing list