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

Unified Diff: test/codegen/expect/temps.js

Issue 1988503002: Move generated files to gen/. (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Revise. Created 4 years, 7 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 | « test/codegen/expect/syncstar_syntax.txt ('k') | test/codegen/expect/temps.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/temps.js
diff --git a/test/codegen/expect/temps.js b/test/codegen/expect/temps.js
deleted file mode 100644
index 3cbed26fb8e62d2c1a69de659fdb8bce34b01166..0000000000000000000000000000000000000000
--- a/test/codegen/expect/temps.js
+++ /dev/null
@@ -1,50 +0,0 @@
-dart_library.library('temps', null, /* Imports */[
- 'dart_sdk'
-], function(exports, dart_sdk) {
- 'use strict';
- const core = dart_sdk.core;
- const dart = dart_sdk.dart;
- const dartx = dart_sdk.dartx;
- const temps = Object.create(null);
- const _x = Symbol('_x');
- const __x = Symbol('__x');
- const _function = Symbol('_function');
- temps.FormalCollision = class FormalCollision extends core.Object {
- new(x, _x$, func) {
- this[_x] = x;
- this[__x] = _x$;
- this[_function] = func;
- }
- };
- dart.setSignature(temps.FormalCollision, {
- constructors: () => ({new: [temps.FormalCollision, [core.int, core.int, core.Function]]})
- });
- const _opt = Symbol('_opt');
- temps.OptionalArg = class OptionalArg extends core.Object {
- new(opt) {
- if (opt === void 0) opt = 123;
- this[_opt] = opt;
- this.opt = null;
- }
- named(opts) {
- let opt = opts && 'opt' in opts ? opts.opt : 456;
- this.opt = opt;
- this[_opt] = null;
- }
- };
- dart.defineNamedConstructor(temps.OptionalArg, 'named');
- dart.setSignature(temps.OptionalArg, {
- constructors: () => ({
- new: [temps.OptionalArg, [], [core.int]],
- named: [temps.OptionalArg, [], {opt: core.int}]
- })
- });
- temps.main = function() {
- core.print(new temps.FormalCollision(1, 2, dart.fn(x => x)));
- core.print(new temps.OptionalArg()[_opt]);
- core.print(new temps.OptionalArg.named()[_opt]);
- };
- dart.fn(temps.main);
- // Exports:
- exports.temps = temps;
-});
« no previous file with comments | « test/codegen/expect/syncstar_syntax.txt ('k') | test/codegen/expect/temps.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698