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

Unified Diff: pkg/dev_compiler/tool/input_sdk/patch/internal_patch.dart

Issue 2535273002: Better mirrors support for mixins and private fields (Closed)
Patch Set: Address comments Created 4 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
Index: pkg/dev_compiler/tool/input_sdk/patch/internal_patch.dart
diff --git a/pkg/dev_compiler/tool/input_sdk/patch/internal_patch.dart b/pkg/dev_compiler/tool/input_sdk/patch/internal_patch.dart
index e4fd296c2c66dba6f771385167e5e068fae72397..22f67d30ac9238390012b59fb44aaabf195557d1 100644
--- a/pkg/dev_compiler/tool/input_sdk/patch/internal_patch.dart
+++ b/pkg/dev_compiler/tool/input_sdk/patch/internal_patch.dart
@@ -11,7 +11,11 @@ import 'dart:_foreign_helper' show JS;
class Symbol implements core.Symbol {
@patch
const Symbol(String name)
- : this._name = name;
+ : this._name = name, this._nativeSymbol = null;
+
+ @patch
+ const Symbol.es6(String name, dynamic nativeSymbol)
+ : this._name = name, this._nativeSymbol = nativeSymbol;
@patch
int get hashCode {

Powered by Google App Engine
This is Rietveld 408576698