mppf1
#1
18681, "mppf", "Should non-generic types be able to be called?", "2021-11-03T15:35:26Z"
In the below program, R()
is a call to the type constructor for R
. Should this compile, given that R
is not a generic type?
record R { var x: int; }
type t = R();
writeln(t:string);
(It does compile today).