If I create a FuncObj with Bind Method, it doesn't get a name.
Code: Select all
DoNothing(msg) {
}
fn := DoNothing.Bind('something')
if (fn.Name = '')
throw Error('DoNothing has no name')
; But so works:
fo := DoNothing
fn := fo.Bind('something')
if (fn.Name = '')
throw Error('DoNothing has no name')