<< Back to previous view

[ASYNC-212] `go` fails to compile expressions with literal `nil` as a let value Created: 15/Jan/18  Updated: 17/Jan/18

Status: Open
Project: core.async
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Major
Reporter: Nicola Mometto Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Attachments: Text File 0001-ASYNC-212-fix-expressions-with-nil-local.patch    
Patch: Code and Test


Minimal repro:

clojure.core.async=> (fn [] (go
                              (let [a nil
                                    foo (identity a)]
                                (<! foo))))
CompilerException java.lang.RuntimeException: Unable to resolve symbol: a in this context, compiling:(NO_SOURCE_PATH:1207:41)

Patch: 0001-ASYNC-212-fix-expressions-with-nil-local.patch

Comment by Nicola Mometto [ 15/Jan/18 8:50 AM ]

Looks like a dupe of ASYNC-92, except the patch in that ticket no longer applies

Generated at Thu Jan 18 04:15:18 CST 2018 using JIRA 4.4#649-r158309.