reverted to ==, if a line is missing a statement, we'll have to make sure to add it

This commit is contained in:
Juan Linietsky 2016-06-17 21:57:46 -03:00
parent dcd50f8838
commit 57c67fb0f7

View File

@ -1039,7 +1039,7 @@ static bool _guess_identifier_from_assignment_in_function(GDCompletionContext& c
for(int i=0;i<func->body->statements.size();i++) {
if (func->body->statements[i]->line >= p_src_line) {
if (func->body->statements[i]->line == p_src_line) {
break;
}