Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLJS-639: warning when records initialized incorrectly
When not a defrecord internal constructor call check the arity of the instantiation form against the fields - ignoring extmap, meta and hash. This is done by setting :internal-ctor meta on the record symbol, otherwise the logic is identical to deftype*. Fix some formatting.
- Loading branch information
1 parent
34821a2
commit 8c6dd24
Showing
2 changed files
with
16 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters