weavejester / hiccup

Fast library for rendering HTML in Clojure
http://weavejester.github.io/hiccup
Eclipse Public License 1.0
2.68k stars 174 forks source link

use fully qualified class in type-hint, works around a clojure bug #93

Closed Bronsa closed 10 years ago

Bronsa commented 10 years ago

Due to a clojure bug, this will result in the symbol 'URI to be used as a type-hint, potentially causing exceptions when to-uri is used in a namespace that doesn't import URI.

A workaround is tagging with the fully qualified class name.

Found using the Eastwood lint tool.