#-/-
1 messages · Page 1 of 1 (latest)
i dont think the second is valid code
it's valid
so this working is sort of an unexpected consequence from another change, idk if it will stay like this or not its not entirely clear
basically it was made so that parameters with comptime only types dont have to be marked comptime which made comptime able to do more stuff, iirc the motivating example was sorting a slice of type
anyway yea, theres no difference, i personally would mark it comptime anyway
interesting