(Hit send to early, see below ...)
Hi all,
there are two problems with #caseError.
First one:
Given the following example, you will receive a confusing error message:
#foo caseOf: {[#bar] -> [2]. [#baz] -> [3]}"--> Error: Case not found (nil), and no otherwise clause"
method := Compiler newcompiledMethodFor: '#bar caseOf: {[#bar] -> [2]}'in: nil to: nil notifying: nil ifFail: nil.method allLiterals."--> #(#caseError #bar #caseOf:)"