Reset context to other when trying to find field/var access and don't get alphanumerical or @"..."

This commit is contained in:
Alexandros Naskos 2020-05-08 15:09:31 +03:00
parent 0b5eb4b9d2
commit aca7db3e88

View File

@ -387,6 +387,8 @@ fn documentContext(doc: types.TextDocument, pos_index: usize) PositionContext {
string_pop_ctx = access_ctx;
}
context = .builtin;
} else {
context = .other;
}
continue;
}