The compiler ignores too few or too many arguments to throw

Description

The compiler does not fail on "malformed" throw forms with less than or greater than one arg:

Approach: Count forms and throw an appropriate exception if arity != 1.

Patch: clj-1456-5.patch

Screened by: Alex Miller

Environment

None

Status

Assignee

Unassigned

Reporter

Alf Kristian Støyle

Labels

Approval

Ok

Patch

Code and Test

Fix versions

Affects versions

Priority

Major
Configure