Skip to content

Commit

Permalink
try to improve array construction
Browse files Browse the repository at this point in the history
  • Loading branch information
aiverson authored and LunNova committed Dec 15, 2024
1 parent aad3c28 commit 7ea674b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions testfile.alc
Original file line number Diff line number Diff line change
Expand Up @@ -2173,7 +2173,7 @@ let sqr = lambda (x)
x * x
sqr 6
# FIXME: this super duper should be failing
let sqr_overcomplicated = lambda_annotated (t, x : t) : host-string
let sqr_overcomplicated = lambda_annotated (t : type, x : t) : host-string
x * x
sqr_overcomplicated(host-number, 6)

Expand All @@ -2183,4 +2183,3 @@ sqr_overcomplicated(host-number, 6)
#host-array-from-tuple(2, host-tuple-of(host-type, duplicate-tuple-desc(2, host-number))(1, 2))

#main()

0 comments on commit 7ea674b

Please sign in to comment.