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 E7002 E7005
|
||||
// phase: 6
|
||||
// spec: docs/spec/15-source-language.md §10
|
||||
module collection
|
||||
fn bad() -> void effects [] { for i in 0u64..2u64 { let text = b"abc"; let x = missing; } }
|
||||
fn next(n: u64) -> u32 effects [] { return n as u32; }
|
||||
fn main() -> void effects [] {}
|
||||
Reference in new issue
Block a user