"A type parameter may not have a default value". Why?

p :: proc(t: typeid = nil) {}

This gives me compile error. What is the reasoning for this?

A few things but it’s mainly to prevent numerous common errors happening which we found people made.

1 Like