hylang/hy — pull request #715 by ALSchwalm (2014-12-11 04:22:58+00:00)
Title: Fix error when 'let' context contains a non-symbol non-list

Currently, attempting to use the 'let' macro with a lexical context containing an element which is neither a list nor a symbol generates an internal compiler error. For example,

=> (let [1])

Generates

hy.errors.HyCompileError: Internal Compiler Bug 😱
⤷ TypeError: Can't assign / delete a object

This change calls 'macro-error' if the user attempts to use such a context.