Explorar o código

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 %!s(int64=11) %!d(string=hai) anos
pai
achega
1383d19a04
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);