Opened 12 years ago

Closed 12 years ago

#244 closed defect (fixed)

let bug

Reported by: opoku Owned by: gb
Priority: major Milestone:
Component: ANSI CL Compliance Version:
Keywords: Cc:

Description

(let ((a 10))

(let ((b a)

(c (incf a)))

(format t "~A ~A ~A~%" a b c)))

The following code should give 11 10 11, however openmcl produces 11 11 11. '

Change History (5)

comment:1 Changed 12 years ago by gb

  • Status changed from new to assigned

If it's any consolation (not that it should be ...), this bug has apparently been around for a long time.

comment:2 Changed 12 years ago by gb

This should have been fixed in changeset:8513.

Please confirm and, if it's indeed fixed, close this ticket.

comment:3 Changed 12 years ago by opoku

I just updated from CVS and the bug is still there

Welcome to Clozure Common Lisp Version 1.1-r8513 (DarwinX8664)! ? (let ((a 10)) (let ((b (incf a)) (c a)) (format t "~A ~A ~A~%" a b c)) ) 11 11 11 NIL ? (lisp-implementation-version) "Version 1.1-r8513 (DarwinX8664)" ?

comment:4 Changed 12 years ago by opoku

Sorry for bad formatting.

Welcome to Clozure Common Lisp Version 1.1-r8513 (DarwinX8664)!

? (let ((a 10)) (let ((b (incf a)) (c a)) (format t "~A ~A ~A~%" a b c)))
11 11 11
NIL
? (lisp-implementation-version)
"Version 1.1-r8513 (DarwinX8664)"
? 

comment:5 Changed 12 years ago by opoku

  • Resolution set to fixed
  • Status changed from assigned to closed

Sorry. I'm retarded. It's fixed.

Note: See TracTickets for help on using tickets.