Join GitHub today
Importing scalafx.Includes._ breaks cellFactory creation #236
Following code does not compile:
The error is
As a workaround one can disable import of
I am not sure what can be done to fix this, but the error was confusing and it was quite hard to identify the exact cause.
To make it clear, it is possible to make the code in the initial post compile correctly be specifying lambdas argument type explicitly:
cell factory = _: TableColumn[Person, String]=> new TextFieldTableCell[Person, String]()