Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(474)

Unified Diff: lib/src/codegen/js_codegen.dart

Issue 1047203002: compute interfaces lazily (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/runtime/dart/typed_data.js ('k') | test/codegen/expect/server_mode/html_input.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/codegen/js_codegen.dart
diff --git a/lib/src/codegen/js_codegen.dart b/lib/src/codegen/js_codegen.dart
index 5b016e261e5736e163d1242dd1862015d4007672..223686983c0d3fd4a64cab8b0f247661723a61dc 100644
--- a/lib/src/codegen/js_codegen.dart
+++ b/lib/src/codegen/js_codegen.dart
@@ -554,7 +554,7 @@ class JSCodegenVisitor extends GeneralizingAstVisitor with ConversionVisitor {
// Interfaces
if (classElem.interfaces.isNotEmpty) {
- body.add(js.statement('#[dart.implements] = #;', [
+ body.add(js.statement('#[dart.implements] = () => #;', [
name,
new JS.ArrayInitializer(
classElem.interfaces.map(_emitTypeName).toList())
« no previous file with comments | « lib/runtime/dart/typed_data.js ('k') | test/codegen/expect/server_mode/html_input.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698