Clojurians
#cljs-dev
<
2017-09-25
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

dnolen12:09:25

@juhoteperi when I apply your patch I get Caused by: java.lang.RuntimeException: Unable to resolve symbol: all-opts in this context

juhoteperi12:09:46

Ah sorry, just rebased but should have also run the tests

juhoteperi12:09:02

@dnolen latest patch passes the tests

mhuebert14:09:57

@favila do you use @struct and @dict annotations in cljs code for this purpose? do you know of good examples? I have never touched them myself

mhuebert14:09:47

in fact I am not even familiar with the terminology :slightly_smiling_face:

favila14:09:36

>When you annotate a constructor C with @struct, the compiler checks that you only access the properties of C objects using dot notation.

favila14:09:44

>When you annotate a constructor C with @dict, the compiler checks that you only access the properties of C objects using brackets.