Created
May 6, 2014 02:30
-
-
Save kpmaynard/43500393959b3615a3fe to your computer and use it in GitHub Desktop.
This file contains hidden or 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
(let [origin (java.awt.Point. 0 0)] | |
(set! (.x origin) 15) ;; Assert failed: set! target must be a field or symbl naming a var targetexpr... | |
(str origin)) | |
(let [origin (java.awt.Point. 0 0)] | |
(set! (.-x origin) 15) ;; this works dnolen example in another problem resolution | |
(str origin)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment