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
In the past one could write the typedesc parameter as generic notation. This seems not to work anymore.
Example:
# typedesc parameterprocunit(t: typedesc[int]): t =0procunit(t: typedesc[string]): t =""procunit(t: typedesc[float]): t =0.0assertunit(int) ==0assertunit(string) ==""assertunit(float) ==0.0# following seems not to work (anymore?)whenfalse:
assertunit[int]() ==0assertunit[string]() ==0assertunit[float]() ==0
@Araq said this should still work, therefor I wrote this report :)
The text was updated successfully, but these errors were encountered:
In the past one could write the typedesc parameter as generic notation. This seems not to work anymore.
Example:
@Araq said this should still work, therefor I wrote this report :)
The text was updated successfully, but these errors were encountered: