-
Notifications
You must be signed in to change notification settings - Fork 132
Open
Description
On cinder/3.10, fannkuch_static_lib.py
and nqueens_static_lib.py
give errors like this:
File "fannkuch_static_lib.py", line 29
count[r - 1] = r
compiler.errors.TypedSyntaxError: type mismatch: int64 cannot be assigned to dynamic
The array count is defined using a type alias:
ArrayI64 = Array[int64]
....
count: ArrayI64 = ArrayI64(range(1, nb + 1))
Changing the definition to use the type directly removes the error:
count: Array[int64] = ArrayI64(range(1, nb + 1))
That's surprising! Did something break with type aliases?
cc @vivaan2006 who helped discover this
Metadata
Metadata
Assignees
Labels
No labels