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,6 @@
|
||||
// expect: reject E7002
|
||||
// phase: 6
|
||||
// spec: docs/spec/15-source-language.md §10
|
||||
module collection
|
||||
fn bad<T>(x: T) -> T effects [] { return missing; }
|
||||
fn main() -> void effects [] { let a = bad::<u64>(1u64); let b = bad::<u32>(1u32); }
|
||||
Reference in new issue
Block a user