mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-19 04:52:13 +02:00
missing paren
This commit is contained in:
@@ -557,7 +557,7 @@ class ComplexEnumTest{
|
||||
var e3 = ComplexEnumEnum(ComplexEnumEnum(MultiEnum(4, 'hi', 4.3))); // enums all the way down
|
||||
switch(e3){
|
||||
// You can look for certain nested enums by specifying them explicitly:
|
||||
case ComplexEnumEnum(ComplexEnumEnum(MultiEnum(i,j,k)) : {
|
||||
case ComplexEnumEnum(ComplexEnumEnum(MultiEnum(i,j,k))) : {
|
||||
trace('$i, $j, and $k were passed into this nested monster');
|
||||
}
|
||||
default: trace("Shouldn't be printed");
|
||||
|
Reference in New Issue
Block a user