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

Unified Diff: lib/runtime/dart/isolate.js

Issue 1483813002: Use const for const/final top-levels, types, symbols. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Rebased after vsm's regen Created 5 years, 1 month 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 | « lib/runtime/dart/core.js ('k') | lib/runtime/dart/js.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/isolate.js
diff --git a/lib/runtime/dart/isolate.js b/lib/runtime/dart/isolate.js
index e757abc8b3226de3c80b69532b9071d9b2379cbd..7fbf20a752d57fcb73350161f7b84aa910c3f8b6 100644
--- a/lib/runtime/dart/isolate.js
+++ b/lib/runtime/dart/isolate.js
@@ -27,7 +27,7 @@ dart_library.library('dart/isolate', null, /* Imports */[
dart.setSignature(IsolateSpawnException, {
constructors: () => ({IsolateSpawnException: [IsolateSpawnException, [core.String]]})
});
- let _pause = Symbol('_pause');
+ const _pause = Symbol('_pause');
class Isolate extends core.Object {
Isolate(controlPort, opts) {
let pauseCapability = opts && 'pauseCapability' in opts ? opts.pauseCapability : null;
@@ -227,7 +227,7 @@ dart_library.library('dart/isolate', null, /* Imports */[
dart.setSignature(_IsolateUnhandledException, {
constructors: () => ({_IsolateUnhandledException: [_IsolateUnhandledException, [dart.dynamic, dart.dynamic, core.StackTrace]]})
});
- let _description = Symbol('_description');
+ const _description = Symbol('_description');
class RemoteError extends core.Object {
RemoteError(description, stackDescription) {
this[_description] = description;
@@ -241,7 +241,7 @@ dart_library.library('dart/isolate', null, /* Imports */[
dart.setSignature(RemoteError, {
constructors: () => ({RemoteError: [RemoteError, [core.String, core.String]]})
});
- let _trace = Symbol('_trace');
+ const _trace = Symbol('_trace');
class _RemoteStackTrace extends core.Object {
_RemoteStackTrace(trace) {
this[_trace] = trace;
« no previous file with comments | « lib/runtime/dart/core.js ('k') | lib/runtime/dart/js.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698