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

Unified Diff: tool/input_sdk/private/operations.dart

Issue 1681593004: Fix a couple of references in _runtime that should have been resolved as quasiquotes (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 10 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 | « tool/input_sdk/private/generators.dart ('k') | tool/input_sdk/private/types.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tool/input_sdk/private/operations.dart
diff --git a/tool/input_sdk/private/operations.dart b/tool/input_sdk/private/operations.dart
index 842ad6e5a6af470459523f7be1ad4486b5d15189..a79fc5bea998bc37c57deb7f6a4a0b9282eaad1a 100644
--- a/tool/input_sdk/private/operations.dart
+++ b/tool/input_sdk/private/operations.dart
@@ -278,13 +278,13 @@ throw_(obj) => JS('', '''(() => {
// TODO(jmesserly): couldn't we store the most recent stack in a single
// variable? There should only be one active stack trace. That would
// allow it to work for things like strings and numbers.
- _stack.set($obj, new Error());
+ $_stack.set($obj, new Error());
}
throw $obj;
})()''');
getError(exception) => JS('', '''(() => {
- var stack = _stack.get($exception);
+ var stack = $_stack.get($exception);
return stack !== void 0 ? stack : $exception;
})()''');
@@ -338,9 +338,9 @@ multiKeyPutIfAbsent(map, keys, valueFn) => JS('', '''(() => {
}
$map = value;
}
- if ($map.has(_value)) return $map.get(_value);
+ if ($map.has($_value)) return $map.get($_value);
let value = $valueFn();
- $map.set(_value, value);
+ $map.set($_value, value);
return value;
})()''');
« no previous file with comments | « tool/input_sdk/private/generators.dart ('k') | tool/input_sdk/private/types.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698