<< Back to previous view

[CLJS-835] resolve-var incorrectly resolves symbols in the form "local.foo" Created: 06/Aug/14  Updated: 07/Aug/14  Resolved: 07/Aug/14

Status: Closed
Project: ClojureScript
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Trivial
Reporter: Nicola Mometto Assignee: Unassigned
Resolution: Completed Votes: 0
Labels: None

Attachments: Text File 0001-fix-resolve-var-handling-of-property-access-on-local.patch    
Patch: Code

ClojureScript:cljs.user> (fn [] (let [a 1 ab 2] a.b))
function () {
    var a = (1);
    var ab = (2);
    return ab;

The return statement should be compiled to "a.b" instead

Comment by David Nolen [ 07/Aug/14 3:47 PM ]

fixed https://github.com/clojure/clojurescript/commit/d7c8960d0dd1edb088a3ea9092507cc77e3f3393

Generated at Thu Jan 18 23:42:55 CST 2018 using JIRA 4.4#649-r158309.