blob: a44372f9b978ce8ed3eef164ce81364637fb2313 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
fn a() type {
return struct {
pub fn b() void {
const c = 6;
const c = 69;
}
};
}
// error
//
// :5:19: error: redeclaration of local constant 'c'
// :4:19: note: previous declaration here
|