Skip to content

Commit

Permalink
Update ast and util.
Browse files Browse the repository at this point in the history
  • Loading branch information
tgehr committed Sep 8, 2024
1 parent 96e0939 commit cc75abb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ast
Submodule ast updated 9 files
+34 −5 checker.d
+34 −7 conversion.d
+116 −43 expression.d
+6 −3 lexer.d
+174 −26 lowerings.d
+1 −1 modules.d
+8 −3 parser.d
+290 −125 semantic_.d
+183 −1 type.d
2 changes: 1 addition & 1 deletion test/bitwiseOps.psi
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

def swap(a,b){
def swap(a:ℤ,b:ℤ){
x:=a,y:=b;
x xorb= y;
y xorb= x;
Expand Down
2 changes: 1 addition & 1 deletion test/divbyzero5.psi
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
def main(){
x := 3;
z := 0:ℚ; // TODO: this annotation should not be necessary
z := 0;
repeat 2{
y := uniformInt(-3,3);
if flip(1/2){
Expand Down
2 changes: 1 addition & 1 deletion util
Submodule util updated 2 files
+58 −0 maybe.d
+6 −2 package.d

0 comments on commit cc75abb

Please sign in to comment.