Improved error messages for foo(void), foo(int!) declarations.

This commit is contained in:
Christoffer Lerno
2022-08-11 12:59:55 +02:00
parent 48fb342834
commit f513b6237f
14 changed files with 69 additions and 22 deletions

View File

@@ -0,0 +1,3 @@
module test;
fn void test4(void!); // #error: Parameters may not be failable.