haxetink / tink_sql

SQL embedded into Haxe
MIT License
53 stars 16 forks source link

Extra properties on Database #28

Closed benmerckx closed 7 years ago

benmerckx commented 7 years ago

I was trying to define a table like so:

class Db extends tink.sql.Database {
  var mytable: MyTable;
}

Which results in The macro didn't return a valid result without any position info. I've since figured out I had to add @:table, but I think a better error message would help a lot :)