I used to be able to do `+= view` . Any api change...
# doodle
c
I used to be able to do
+= view
. Any api change or i have to import something?
I had to do
display.children += view
n
You need to import the Display.plusAssign extension. Unfortunately the IDE doesn’t always auto include it. This probably has to do with the fact that there are a few versions of it.
This will be fixed in 0.9.0 by the way. I'll move away from extension functions so these just work as expected.