Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clojurescript rtd-records with more than 20 elemens #48

Open
dobretzberger opened this issue Jun 12, 2023 · 0 comments
Open

Clojurescript rtd-records with more than 20 elemens #48

dobretzberger opened this issue Jun 12, 2023 · 0 comments
Assignees

Comments

@dobretzberger
Copy link
Contributor

The following record definition:

(:require [active.clojure.cljs.record :as rec :include-macros true])
(rec/define-record-type Rec21 {:rtd-record? true}
                        make-rec21 rec-21?
                        [r1 rec-r1
                        r2 rec-r2
                        r3 rec-r3
                        r4 rec-r4
                        r5 rec-r5
                        r6 rec-r6
                        r7 rec-r7
                        r8 rec-r8
                        r9 rec-r9
                        r10 rec-r10
                        r11 rec-r11
                        r12 rec-r12
                        r13 rec-r13
                        r14 rec-r14
                        r15 rec-r15
                        r16 rec-r16
                        r17 rec-r17
                        r18 rec-r18
                        r19 rec-r19
                        r20 rec-r20
                        r21 rec-r21])

results in an warning:

Use of undeclared Var [...]/java

This does not happen with 20 or less elements in the record, or without {:rtd-record? true}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants