I get an StackOverflowError: ```internal class Bin...
# tornadofx
j
I get an StackOverflowError:
Copy code
internal class BindingsTest {
  @Test
  internal fun testBindings() {
    val fooProperty: IntegerProperty = SimpleIntegerProperty(7)

    val periodProperty: ReadOnlyObjectProperty<Int> = SimpleObjectProperty<Int>()
      .apply {
        bind(objectBinding(fooProperty) {
          fooProperty.get()
        })
      }

    println("Result ${periodProperty.get()}")
  }
}
What am I doing wrong? Any ideas/hints?