bug fix #298
This commit is contained in:
parent
79be81ed87
commit
dce22f2d86
|
|
@ -2969,7 +2969,7 @@ namespace CodeCompletion
|
|||
public override TypeScope GetInstance(List<TypeScope> gen_args)
|
||||
{
|
||||
if ((elementType is UnknownScope || elementType is TemplateParameterScope) && gen_args.Count > 0)
|
||||
return new ArrayScope(gen_args[0], indexes);
|
||||
return new ArrayScope(gen_args[0], Rank > 1?indexes:null);
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue