Przeglądaj źródła

Fix for faulty inlining of =.

Göran Krampe 13 lat temu
rodzic
commit
b36de2ebc6
3 zmienionych plików z 4 dodań i 4 usunięć
  1. 1 1
      js/Compiler.deploy.js
  2. 1 1
      js/Compiler.js
  3. 2 2
      st/Compiler.st

Plik diff jest za duży
+ 1 - 1
js/Compiler.deploy.js


Plik diff jest za duży
+ 1 - 1
js/Compiler.js


+ 2 - 2
st/Compiler.st

@@ -611,7 +611,7 @@ inlineLiteral: aSelector receiverNode: anObject argumentNodes: aCollection
 	(aSelector = '=') ifTrue: [
           	(self isNode: anObject ofClass: Number) ifTrue: [
                   	self visit: anObject.
-                  	stream nextPutAll: ' = '.
+                  	stream nextPutAll: ' == '.
                 	self visit: aCollection first.
                 	inlined := true]].
 
@@ -1023,6 +1023,6 @@ Object subclass: #DoIt
 
 !DoIt methodsFor: ''!
 
-doIt ^[Compiler performOptimizations: false.] value
+doIt ^[1=2] value
 ! !
 

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików