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

Unified Diff: test/codegen_expected/language/export_main_override_test.js

Issue 2234343003: fix #620, infer the input files from sources (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: fix Created 4 years, 4 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
Index: test/codegen_expected/language/export_main_override_test.js
diff --git a/test/codegen_expected/language/export_main_override_test.js b/test/codegen_expected/language/export_main_override_test.js
index 0c6a6854ae66ffc3bb4d224622bd6d0fb857cb23..152a84a5c6e2798ae931bf63e83a241517b3573a 100644
--- a/test/codegen_expected/language/export_main_override_test.js
+++ b/test/codegen_expected/language/export_main_override_test.js
@@ -1 +1,21 @@
-//FAILED TO COMPILE
+dart_library.library('language/export_main_override_test', null, /* Imports */[
+ 'dart_sdk'
+], function load__export_main_override_test(exports, dart_sdk) {
+ 'use strict';
+ const core = dart_sdk.core;
+ const dart = dart_sdk.dart;
+ const dartx = dart_sdk.dartx;
+ const export_main_override_test = Object.create(null);
+ const top_level_entry_test = Object.create(null);
+ let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))();
+ export_main_override_test.main = function() {
+ core.print('export_main_override');
+ };
+ dart.fn(export_main_override_test.main, VoidTodynamic());
+ top_level_entry_test.main = function() {
+ };
+ dart.fn(top_level_entry_test.main, VoidTodynamic());
+ // Exports:
+ exports.export_main_override_test = export_main_override_test;
+ exports.top_level_entry_test = top_level_entry_test;
+});

Powered by Google App Engine
This is Rietveld 408576698