revert-complexity #7

Merged
sashakoshka merged 34 commits from revert-complexity into main 2022-09-29 14:06:54 -06:00
2 changed files with 9 additions and 9 deletions
Showing only changes of commit 5f0e4697b5 - Show all commits

View File

@ -8,13 +8,13 @@ func TestFunc (test *testing.T) {
---
func ro aBasicExternal
> someInput:Int:mut
< someOutput:Int:<4>
< someOutput:Int 4
---
external
func ro bMethod
@ bird:{Bird}
> someInput:Int:mut
< someOutput:Int:<4>
< someOutput:Int 4
---
external
func ro cBasicPhrases
@ -99,11 +99,11 @@ func ro gControlFlow
[nestedThing]
[else]
[otherThing]
func ro hSetPhrase
func ro hDataInit
---
[let x:Int:<3>]
[let y:{Int}:<[loc x]>]
[let z:Int:8:<398 9 2309 983 -2387 478 555 123>]
[let bird:Bird:(.that:(.whenYou:<99999>) .this:<324>)]
[let x:Int 3]
[let y:{Int} [loc x]]
[let z:Int:8 (398 9 2309 983 -2387 478 555 123)]
[let bird:Bird ((99999) 324)]
`, test)
}

View File

@ -122,9 +122,9 @@ func ro gControlFlow
else
otherThing
func ro hSetPhrase
func ro hDataInit
---
let x:Int:<3>
let x:Int 3
# loc is a reference, similar to * in C
let y:{Int} [loc x]
let z:Int:8 (398 9 2309 983 -2387