DEBSOURCES
Skip Quicknav
sources / nim / 2.2.0-1 / tests / typerel / ttynilinstantiation.nim
1234567
proc foo[T: proc](x: T) = # old error here: let y = x # invalid type: 'typeof(nil)' for let foo(nil) #[tt.Error ^ type mismatch: got <typeof(nil)>]#