Re: ClojureScript: how to get rid of "no longer a property access" warning

19 views
Skip to first unread message

David Nolen

unread,
Mar 23, 2012, 12:55:14 AM3/23/12
to clo...@googlegroups.com, cloju...@googlegroups.com
There is no way to suppress the warning. It's been around for long enough in my opinion, I think we should drop it before the next release.

David

On Wed, Mar 21, 2012 at 10:31 AM, Tom Krestle <tom.k...@gmail.com> wrote:
Hi,

Executing legitimate code in CLJS REPL produces expected result with a warning. Is this syntax wrong? Is there a way to disable the warning?

> (.getTime (js/Date.))
WARNING: The form (. (js/Date.) getTime) is no longer a property access. Maybe you meant (. (js/Date.) -getTime) instead?
1332339898277

Thanks,
Tom

--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Chris Granger

unread,
Mar 23, 2012, 1:11:26 AM3/23/12
to cloju...@googlegroups.com, clo...@googlegroups.com
+1 This confused a lot of people in my class :(

Cheers,
Chris.


--
You received this message because you are subscribed to the Google Groups "Clojure Dev" group.
To post to this group, send email to cloju...@googlegroups.com.
To unsubscribe from this group, send email to clojure-dev...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/clojure-dev?hl=en.

Reply all
Reply to author
Forward
0 new messages