]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/compiler/tests/codegen.factor
use radix literals
[factor.git] / basis / compiler / tests / codegen.factor
index f5555716f31d034ea1f492b07d66ac7a5b3c2bfe..3fe62936368185f023fb24f2fb08d916971c4c56 100644 (file)
@@ -106,7 +106,7 @@ unit-test
 [ ] [
     [
         [ 200 dup [ 200 3array ] curry map drop ] times
-    ] [ (( n -- )) define-temp ] with-compilation-unit drop
+    ] [ ( n -- ) define-temp ] with-compilation-unit drop
 ] unit-test
 
 ! Test how dispatch handles the end of a basic block
@@ -462,7 +462,7 @@ TUPLE: myseq { underlying1 byte-array read-only } { underlying2 byte-array read-
 ! Forgot to two-operand shifts
 [ 2 0 ] [
     1 1
-    [ [ HEX: f bitand ] bi@ [ shift ] [ drop -3 shift ] 2bi ] compile-call
+    [ [ 0xf bitand ] bi@ [ shift ] [ drop -3 shift ] 2bi ] compile-call
 ] unit-test
 
 ! Alias analysis bug