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

Unified Diff: test/codegen/expect/misc.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/methods.txt ('k') | test/codegen/expect/misc.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/misc.js
diff --git a/test/codegen/expect/misc.js b/test/codegen/expect/misc.js
deleted file mode 100644
index 68e5b743627035046ff083b76a9029bd9cc24622..0000000000000000000000000000000000000000
--- a/test/codegen/expect/misc.js
+++ /dev/null
@@ -1,69 +0,0 @@
-dart_library.library('misc', 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 misc = Object.create(null);
- misc._Uninitialized = class _Uninitialized extends core.Object {
- new() {
- }
- };
- dart.setSignature(misc._Uninitialized, {
- constructors: () => ({new: [misc._Uninitialized, []]})
- });
- misc.UNINITIALIZED = dart.const(new misc._Uninitialized());
- misc.Generic$ = dart.generic(T => {
- class Generic extends core.Object {
- get type() {
- return dart.wrapType(misc.Generic);
- }
- m() {
- return core.print(dart.wrapType(T));
- }
- }
- dart.setSignature(Generic, {
- methods: () => ({m: [dart.dynamic, []]})
- });
- return Generic;
- });
- misc.Generic = misc.Generic$();
- misc.Base = class Base extends core.Object {
- new() {
- this.x = 1;
- this.y = 2;
- }
- ['=='](obj) {
- return dart.is(obj, misc.Base) && obj.x == this.x && obj.y == this.y;
- }
- };
- misc.Derived = class Derived extends core.Object {
- new() {
- this.z = 3;
- }
- ['=='](obj) {
- return dart.is(obj, misc.Derived) && obj.z == this.z && super['=='](obj);
- }
- };
- misc._isWhitespace = function(ch) {
- return ch == ' ' || ch == '\n' || ch == '\r' || ch == '\t';
- };
- dart.fn(misc._isWhitespace, core.bool, [core.String]);
- misc.expr = 'foo';
- misc._escapeMap = dart.const(dart.map({'\n': '\\n', '\r': '\\r', '\f': '\\f', '\b': '\\b', '\t': '\\t', '\v': '\\v', '': '\\x7F', [`\${${misc.expr}}`]: ''}));
- misc.main = function() {
- core.print(dart.toString(1));
- core.print(dart.toString(1.0));
- core.print(dart.toString(1.1));
- let x = 42;
- core.print(dart.equals(x, dart.wrapType(dart.dynamic)));
- core.print(dart.equals(x, dart.wrapType(misc.Generic)));
- core.print(new (misc.Generic$(core.int))().type);
- core.print(dart.equals(new misc.Derived(), new misc.Derived()));
- new (misc.Generic$(core.int))().m();
- };
- dart.fn(misc.main);
- // Exports:
- exports.misc = misc;
-});
« no previous file with comments | « test/codegen/expect/methods.txt ('k') | test/codegen/expect/misc.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698