Index: dart/lib/compiler/implementation/elements/elements.dart |
diff --git a/dart/lib/compiler/implementation/elements/elements.dart b/dart/lib/compiler/implementation/elements/elements.dart |
index 8c81c83891502494e62d9de5d1a2112ea39280fd..cc494fc34b8812829ffe0add5c170bc44cf26e5f 100644 |
--- a/dart/lib/compiler/implementation/elements/elements.dart |
+++ b/dart/lib/compiler/implementation/elements/elements.dart |
@@ -1510,6 +1510,8 @@ class Elements { |
} else if (selector == const SourceString('negate')) { |
// TODO(ahe): Remove this case: Legacy support for pre-0.11 spec. |
return selector; |
+ } else if (str === '?') { |
+ return selector; |
} else { |
throw new Exception('Unhandled selector: ${selector.slowToString()}'); |
} |