[CLJS-693] new and dot form work on locals Created: 20/Nov/13 Updated: 02/Dec/13
I can bind the Thing property to a local and construct it using new or the dot form. This code compiles and runs without errors, and logs three lines to the console.
I talked to David Nolen and he said this behavior is not correct.
|Comment by David Nolen [ 02/Dec/13 8:58 PM ]|
Upon further consideration this probably requires some feedback from the community. I'd forgotten that (Thing. foo bar ...) is just sugar for (new Thing foo bar ...) ...