Fork me on GitHub
#clojure-dev
<
2017-11-05
>
thheller00:11:13

(. "xyz" (substring 1) (throw :bug?))
=> "yz"

thheller00:11:46

seems like every extra arg is just dropped

seancorfield02:11:44

@thheller Yeah, I just looked over the source and if there's a method call as the third form, it ignores anything beyond that.

andy.fingerhut17:11:34

tools.analyzer.jvm raises an exception if you attempt to analyze a form like that, so Eastwood does, too.

andy.fingerhut17:11:56

It isn't a nice warning message from Eastwood explaining in a straightforward fashion what is wrong, but it doesn't accept it.