Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
ambiguous_reference.zig
pretty
plain
permalink
blame
history
•
13 lines
•
216 B
1
const T = struct {
2
const T = struct {
3
fn f() void {
4
_ = T;
5
}
6
};
7
};
8
9
// error
10
//
11
// :4:17: error: ambiguous reference
12
// :2:5: note: declared here
13
// :1:1: note: also declared here