frontend: collect independent source diagnostics without cascades
This commit is contained in:
1 parent
2c6c7a3dcd
commit
4cda44823d
47 files changed
+697
-44
No files matched your search
@@ -0,0 +1,7 @@
|
||||
// expect: reject E7001 E7001 E7001
|
||||
// phase: 6
|
||||
// spec: docs/spec/15-source-language.md §10
|
||||
module collection
|
||||
fn a() -> bool effects [] { return !false; }
|
||||
fn b() -> u64 effects [] { var x = 1u64; return x; }
|
||||
fn main() -> void effects [] { let x = [zero; 3]; }
|
||||
Reference in new issue
Block a user