Bläddra i källkod

RegularExpression class was not wrapped to JS RegExp.

(the one that was loaded with methods did not match
with the one wrapped during boot,
because superclasses were different)
Herbert Vojčík 11 år sedan
förälder
incheckning
1383d19a04
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      js/boot.js

+ 1 - 1
js/boot.js

@@ -827,7 +827,7 @@ smalltalk.addClass("CharacterArray", smalltalk.SequenceableCollection, null, "Ke
 smalltalk.wrapClassName("String", "Kernel", String, smalltalk.CharacterArray);
 smalltalk.wrapClassName("Symbol", "Kernel", SmalltalkSymbol, smalltalk.CharacterArray, false);
 smalltalk.wrapClassName("Array", "Kernel", Array, smalltalk.SequenceableCollection);
-smalltalk.wrapClassName("RegularExpression", "Kernel", RegExp, smalltalk.String);
+smalltalk.wrapClassName("RegularExpression", "Kernel", RegExp, smalltalk.Object);
 
 smalltalk.wrapClassName("Error", "Kernel", Error, smalltalk.Object);
 smalltalk.wrapClassName("MethodContext", "Kernel", SmalltalkMethodContext, smalltalk.Object, false);