mirror of
https://github.com/adelphes/android-dev-ext.git
synced 2025-12-23 09:59:25 +00:00
use exact type signatures for locating types for completion items
This commit is contained in:
@@ -35,7 +35,7 @@ class MemberExpression extends Expression {
|
||||
}
|
||||
|
||||
if (instance instanceof PackageNameType) {
|
||||
this.dot.loc = `fqs:${instance.package_name}`;
|
||||
this.dot.loc = `fqdi:${instance.package_name}`;
|
||||
if (!this.member) {
|
||||
return instance;
|
||||
}
|
||||
@@ -60,7 +60,7 @@ class MemberExpression extends Expression {
|
||||
return AnyType.Instance;
|
||||
}
|
||||
|
||||
this.dot.loc = `${loc}:${instance.fullyDottedTypeName}`
|
||||
this.dot.loc = `${loc}:${instance.typeSignature}`
|
||||
if (!this.member) {
|
||||
ri.problems.push(ParseProblem.Error(this.dot, `Identifier expected`));
|
||||
return instance;
|
||||
|
||||
Reference in New Issue
Block a user