Why doesn't infix syntax work in this?? <http://i....
# announcements
j
Why doesn't infix syntax work in this??

http://i.imgur.com/a78CZOi.png

Copy code
class FXML {
	infix fun import(import: String) {}
}

fun fxml(body: FXML.() -> Any) {}

fun main(args: Array<String>) {
	fxml {
		import "abendigo.gui.misc.HotKeyButton"
		import "javafx.scene.control"
	}
}