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

Side by Side Diff: test/codegen/expect/language/missing_const_constructor_test_01_multi.js

Issue 2128353002: Check in codegen test expectations. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 dart_library.library('language/missing_const_constructor_test_01_multi', null, / * Imports */[
2 'dart_sdk'
3 ], function load__missing_const_constructor_test_01_multi(exports, dart_sdk) {
4 'use strict';
5 const core = dart_sdk.core;
6 const dart = dart_sdk.dart;
7 const dartx = dart_sdk.dartx;
8 const missing_const_constructor_test_01_multi = Object.create(null);
9 let VoidTovoid = () => (VoidTovoid = dart.constFn(dart.definiteFunctionType(da rt.void, [])))();
10 missing_const_constructor_test_01_multi.GoodClass = class GoodClass extends co re.Object {
11 new() {
12 }
13 };
14 dart.setSignature(missing_const_constructor_test_01_multi.GoodClass, {
15 constructors: () => ({new: dart.definiteFunctionType(missing_const_construct or_test_01_multi.GoodClass, [])})
16 });
17 missing_const_constructor_test_01_multi.GOOD_CLASS = dart.const(new missing_co nst_constructor_test_01_multi.GoodClass());
18 missing_const_constructor_test_01_multi.main = function() {
19 try {
20 core.print(missing_const_constructor_test_01_multi.GOOD_CLASS);
21 } catch (e) {
22 }
23
24 };
25 dart.fn(missing_const_constructor_test_01_multi.main, VoidTovoid());
26 // Exports:
27 exports.missing_const_constructor_test_01_multi = missing_const_constructor_te st_01_multi;
28 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698