src/Palete/Palete.vala
authorAlan Knowles <alan@roojs.com>
Wed, 8 Jun 2016 09:57:28 +0000 (17:57 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 8 Jun 2016 09:57:28 +0000 (17:57 +0800)
src/Palete/Palete.vala

index 39f1820..1399a11 100644 (file)
@@ -402,11 +402,12 @@ namespace Palete
                                        err.set_object_member("ERR", files_obj);
  
                                        state.showCompileResult(err);
+                                       // do not set errors.. that's not done here..
                                        return true;
                                }
-                               ret.set(line, errmsg); // depricated - this is used by the editor currently -- but we are planning to switch from that..
+                               errors.set(line, errmsg); // depricated - this is used by the editor currently -- but we are planning to switch from that..
                                print("got  errors\n");
-                               return ret;
+                               return true;
 
                        }
                        // now syntax is OK.. try the