The value NIL is not of type SB-C::NODE.
Bug #720382 reported by
3b
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Medium
|
Unassigned |
Bug Description
(lambda (b) ((lambda () b) 1))
produces the error "The value NIL is not of type SB-C::NODE." during compilation, along with the expected warning about wrong number of arguments passed to the inner lambda.
Expected just the warning.
(lambda (b) (funcall (lambda () b) 1)) works as expected.
possibly related to bug #551227, but doesn't seem to fit the diagnosis there, so filing a separate bug.
tested on 1.0.45.13 x8664 linux, and 1.0.36 x86 linux
Changed in sbcl: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
status: | Confirmed → Triaged |
Changed in sbcl: | |
assignee: | nobody → Nikodemus Siivola (nikodemus) |
Changed in sbcl: | |
status: | Triaged → In Progress |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Not the same as bug #551227.
Differences between conversion of (FUNCALL #'(LAMBDA ...) ...) and ((LAMBDA ...) ...) are interesting, especially since the latter is specified to be semantically equivalent to the first.
I think just making the compiler treat the exactly as such by converting the latter into the first would be TRT.