You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Three variations of a bug related to static parameters (doesn't matter if proc is annotated with {.compileTime.} or not.
Variation 1
import unicode
typeCell=object
c: Runeproctest(c: staticstring) =discard#Remove this and it compilesproctest(c: Cell) =discardtestCell(c: runeAt("", 0))
…12713 ; refs #13529 (#13976)
* fix#12864 static params were mutating arg types during sigmatch
* fix test
* fix StaticParam
* also fixes#12713; added test case
Three variations of a bug related to static parameters (doesn't matter if proc is annotated with
{.compileTime.}
or not.Variation 1
fails with:
Variation 2
fails with:
Variation 3
fails with:
Expected Output
All three should compile I guess?
Additional Information
The text was updated successfully, but these errors were encountered: