Browse Source

Remove deprecations.

Herby Vojčík 5 years ago
parent
commit
bbe4ae4e8d
1 changed files with 2 additions and 6 deletions
  1. 2 6
      lang/base/kernel-fundamentals.js

+ 2 - 6
lang/base/kernel-fundamentals.js

@@ -72,7 +72,7 @@ define(function () {
     }
 
     function PackagesBrik (brikz, st) {
-        st.packages = st.packageDescriptors = {};
+        st.packageDescriptors = {};
 
         /* Add a package load descriptor to the system */
         st.addPackage = function (name, properties) {
@@ -246,7 +246,7 @@ define(function () {
         this.nilAsReceiver = new SmalltalkNil();
         this.nilAsValue = this.nilAsReceiver; // TODO null
 
-        // Adds an `a$nil` (and legacy `isNil`) property to the `nil` object.  When sending
+        // Adds an `a$nil` property to the `nil` object.  When sending
         // nil objects from one environment to another, doing
         // `anObject == nil` (in JavaScript) does not always answer
         // true as the referenced nil object might come from the other
@@ -255,10 +255,6 @@ define(function () {
             value: true,
             enumerable: false, configurable: false, writable: false
         });
-        Object.defineProperty(this.nilAsReceiver, 'isNil', {
-            value: true,
-            enumerable: false, configurable: false, writable: false
-        });
     }
 
     /* Making smalltalk that has basic building blocks */