This commit is contained in:
Бондарев Иван 2016-11-27 19:43:02 +01:00
parent 79be81ed87
commit dce22f2d86

View file

@ -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;
}