Index: pkg/compiler/lib/src/js_backend/namer.dart |
diff --git a/pkg/compiler/lib/src/js_backend/namer.dart b/pkg/compiler/lib/src/js_backend/namer.dart |
index 6156b277c2107c48dd750947b0bb977e9ad7b05a..5b84c0e8e0c3fd99793513151005e5b59b9c080a 100644 |
--- a/pkg/compiler/lib/src/js_backend/namer.dart |
+++ b/pkg/compiler/lib/src/js_backend/namer.dart |
@@ -764,6 +764,7 @@ class Namer { |
if (element.hasFixedBackendName) { |
// Certain native fields must be given a specific name. Native names must |
// not contain '$'. We rely on this to avoid clashes. |
+ // TODO(jacobr): we need to relax this constraint. |
assert(enclosingClass.isNative && |
!element.fixedBackendName.contains(r'$')); |