core.async

reify in go macro compile error

Details

  • Type: Defect Defect
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    [org.clojure/clojure "1.5.1"]
    [org.clojure/core.async "0.1.267.0-0d7780-alpha"]

Description

(go
(reify java.util.Collection
(add [this o]
(println o)
(println this)
true)))

clojure.lang.Compiler$CompilerException: java.lang.RuntimeException: Unable to resolve symbol: this in this context

Activity

Hide
Ghadi Shayban added a comment -

Reassigning to minor. The go macro will obviously not rewrite parking ops inside the reify. Lifting the reify into a var is a decent workaround.

Show
Ghadi Shayban added a comment - Reassigning to minor. The go macro will obviously not rewrite parking ops inside the reify. Lifting the reify into a var is a decent workaround.
Ghadi Shayban made changes -
Field Original Value New Value
Priority Blocker [ 1 ] Minor [ 4 ]
Rich Hickey made changes -
Assignee Rich Hickey [ richhickey ]

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: