Browse Source

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 năm trước cách đây
mục cha
commit
1383d19a04
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);