Skip to content

Commit a6dd96f

Browse files
author
SlavaRa
committed
Fixed run-time error. fixes #77 (#78)
1 parent 8940f8b commit a6dd96f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PostfixCodeCompletion/Completion/Complete.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ public override bool UpdateCompletionList(ASResult expr, IList<ICompletionListIt
197197
{
198198
var result = base.UpdateCompletionList(expr, options);
199199
if (result) return true;
200-
if (expr == null || expr.IsNull() || expr.Context == null || completionModeHandler == null) return false;
200+
if (expr == null || expr.IsNull() || expr.IsPackage || expr.Context == null || completionModeHandler == null) return false;
201201
var sci = PluginBase.MainForm.CurrentDocument.SciControl;
202202
if (sci.CharAt(expr.Context.Position) != '.') return false;
203203
var hc = new HaxeComplete(sci, expr, false, completionModeHandler, HaxeCompilerService.Type);

0 commit comments

Comments
 (0)