Add failing test
This commit is contained in:
parent
dcec8be307
commit
2247d9b58e
@ -279,13 +279,15 @@ type Foo = { x: Int, y: Int }
|
|||||||
|
|
||||||
impl Foo {
|
impl Foo {
|
||||||
fn hella() {
|
fn hella() {
|
||||||
self.x + 50
|
let a = 50
|
||||||
|
self.x + a
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
"#;
|
"#;
|
||||||
let (symbols, _) = add_symbols(source);
|
let (symbols, _) = add_symbols(source);
|
||||||
symbols.debug();
|
symbols.debug();
|
||||||
assert!(symbols.fq_names.table.get(&make_fqsn(&["<impl-block>Foo", "hella"])).is_some());
|
assert!(symbols.fq_names.table.get(&make_fqsn(&["<impl-block>Foo", "hella"])).is_some());
|
||||||
|
assert!(symbols.fq_names.table.get(&make_fqsn(&["<impl-block>Foo", "hella", "a"])).is_some());
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
Loading…
Reference in New Issue
Block a user