UndefinedObject extend [ plusLit [^3+4] plusNonLit [^3 + OrderedCollection new] ] (UndefinedObject >> #plusLit) inspect printNl (UndefinedObject >> #plusNonLit) inspect printNl
Standard input is empty
An instance of CompiledMethod header: 64 Header Flags: flags: 0 primitive index: 0 number of arguments: 0 number of temporaries: 0 number of literals: 0 needed stack slots: 8 descriptor: a MethodInfo byte codes: [ [1] source code line number 2 [3] push 3 [5] push 4 send 1 args message #+ [7] return stack top ] UndefinedObject>>plusLit An instance of CompiledMethod header: 64 Header Flags: flags: 0 primitive index: 0 number of arguments: 0 number of temporaries: 0 number of literals: 1 needed stack slots: 8 descriptor: a MethodInfo literals: [ [1] {Smalltalk.OrderedCollection} ] byte codes: [ [1] source code line number 3 [3] push 3 [5] push Global Variable {Smalltalk.OrderedCollection} [7] send 0 args message #new [9] send 1 args message #+ [11] return stack top ] UndefinedObject>>plusNonLit