File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 3417
3417
nil )]
3418
3418
(when (and (not= 'constructor prop)
3419
3419
(not (string/starts-with? (str prop) " cljs$" ))
3420
- (not (-> prop meta :protocol-method )))
3420
+ (not (-> prop meta :protocol-prop )))
3421
3421
; ; Adding to Object
3422
3422
(when (= 'Object (first (-> tag meta :prefix )))
3423
3423
(warning :infer-warning env
Original file line number Diff line number Diff line change 2110
2110
check
2111
2111
`(if (and (not (nil? ~fsig))
2112
2112
; ; Property access needed here.
2113
- (not (nil? (. ~fsig ~(with-meta (symbol (core/str " -" slot)) {:protocol-method true })))))
2113
+ (not (nil? (. ~fsig ~(with-meta (symbol (core/str " -" slot)) {:protocol-prop true })))))
2114
2114
(. ~fsig ~slot ~@sig)
2115
2115
(~dyn-name ~@sig))]
2116
2116
`(~sig ~check)))
2162
2162
~@(map (core/fn [sig]
2163
2163
(expand-sig dyn-name
2164
2164
(with-meta (symbol (core/str slot " $arity$" (count sig)))
2165
- {:protocol-method true })
2165
+ {:protocol-prop true })
2166
2166
sig))
2167
2167
sigs)))))]
2168
2168
`(do
2213
2213
(if-not (nil? ~xsym)
2214
2214
(if (or ~(if bit `(unsafe-bit-and (. ~xsym ~msym) ~bit) false )
2215
2215
(identical? cljs.core/PROTOCOL_SENTINEL
2216
- (. ~xsym ~(with-meta (symbol (core/str " -" prefix)) {:protocol-method true }))))
2216
+ (. ~xsym ~(with-meta (symbol (core/str " -" prefix)) {:protocol-prop true }))))
2217
2217
true
2218
2218
(if (coercive-not (. ~xsym ~msym))
2219
2219
(cljs.core/native-satisfies? ~psym ~xsym)
2222
2222
`(if-not (nil? ~x)
2223
2223
(if (or ~(if bit `(unsafe-bit-and (. ~x ~msym) ~bit) false )
2224
2224
(identical? cljs.core/PROTOCOL_SENTINEL
2225
- (. ~x ~(with-meta (symbol (core/str " -" prefix)) {:protocol-method true }))))
2225
+ (. ~x ~(with-meta (symbol (core/str " -" prefix)) {:protocol-prop true }))))
2226
2226
true
2227
2227
(if (coercive-not (. ~x ~msym))
2228
2228
(cljs.core/native-satisfies? ~psym ~x)
You can’t perform that action at this time.
0 commit comments