jdonaldson/vaxe

Error isn't captured by Vaxe

fullofcaffeine opened this issue · 0 comments

I have the following class (it uses frabbits angular.haxe, it's an exercise in converting the TodoMVC to angular.haxe):

package;

import angular.*;
import js.node.http.*;
import fullofcaffeine.todomvc.controllers.*;

class Config {
  public var appName = 'TodoMVC';
  public function new() {}
}

class App {
 static var app;

  static public function main() {
    app = Angular.module('TodoMVC')
                 .factory(Config.new)
                 .controller("TodoController", TodoController);


  }
}

When I save, no errors ares shown in the quickfix window, but when I run :make, it shows the following:

[1]  + 13379 continued  mvim -v .

src/haxe/App.hx:16: lines 16-18 : f must be a function returning a type
src/haxe/App.hx:16: lines 16-18 : f must be a function returning a type

Press ENTER or type command to continue

For other kind of errors, it does show in the quickfix window: https://www.dropbox.com/s/r6m2xe67r9vzfpi/Screenshot%202016-03-01%2012.22.15.png?dl=0

Any ideas why the previous error didn't get caught by Vaxe?