edvin
09/06/2016, 7:21 AMvalue()
), so the compiler cannot infer that type no matter what. The column function needs two type arguments: The TableView type and the column type. If you want to specify the column type you also have to specify the table view type, so you end up with column<MyObject, Int>("Level") ...
.