Index: lib/runtime/dart_sdk.js |
diff --git a/lib/runtime/dart_sdk.js b/lib/runtime/dart_sdk.js |
index 3a33f39518d8144d2ced401cb3c83052fe40bc72..46df181d3cf562c6112629995d80f7cffca4916d 100644 |
--- a/lib/runtime/dart_sdk.js |
+++ b/lib/runtime/dart_sdk.js |
@@ -179,19 +179,6 @@ dart_library.library('dart_sdk', null, /* Imports */[ |
dart.hasMethod = function(obj, name) { |
return dart.getMethodType(obj, name) !== void 0; |
}; |
- dart.virtualField = function(subclass, fieldName) { |
- let prop = dart.getOwnPropertyDescriptor(subclass.prototype, fieldName); |
- if (prop) return; |
- let symbol = Symbol(subclass.name + '.' + fieldName.toString()); |
- dart.defineProperty(subclass.prototype, fieldName, { |
- get: function() { |
- return this[symbol]; |
- }, |
- set: function(x) { |
- this[symbol] = x; |
- } |
- }); |
- }; |
dart.defineNamedConstructor = function(clazz, name) { |
let proto = clazz.prototype; |
let initMethod = proto[name]; |