Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#880 closed defect (fixed)

bug with assume

Reported by: megane Owned by:
Priority: major Milestone: 4.9.0
Component: unknown Version: 4.7.x
Keywords: Cc:
Estimated difficulty:

Description

Here's the bug and as an attachment a patch by Peter Bex

(let [(l (list 1 2 3))]
  (assume
   ((l list))
   (print l)))
;; Error: during expansion of (assume ...) - call of non-procedure: #<transformer>

;; 	Call history:

;; 	compiler.scm:410: find-id	  
;; 	compiler.scm:411: ##sys#get	  
;; 	compiler.scm:463: ##sys#get	  
;; 	compiler.scm:464: ##sys#alias-global-hook	  
;; 	compiler.scm:401: g1619	  
;; 	compiler.scm:1272: walk	  
;; 	compiler.scm:498: constant?	  
;; 	compiler.scm:401: g1619	  
;; 	compiler.scm:1272: walk	  
;; 	compiler.scm:498: constant?	  
;; 	compiler.scm:401: g1619	  
;; 	compiler.scm:1272: walk	  
;; 	compiler.scm:498: constant?	  
;; 	compiler.scm:1246: ##sys#hash-table-ref	  
;; 	compiler.scm:1248: ##sys#hash-table-set!	  
;; 	compiler.scm:615: ##sys#canonicalize-body	  	<--


Attachments (1)

assume-fix.patch (525 bytes) - added by megane 12 years ago.

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by megane

Attachment: assume-fix.patch added

comment:1 Changed 12 years ago by megane

Resolution: fixed
Status: newclosed

fixed in master

comment:2 Changed 12 years ago by Christian Kellermann

by commit fd11432

comment:3 Changed 12 years ago by felix winkelmann

Milestone: 4.8.04.9.0

Milestone 4.8.0 deleted

Note: See TracTickets for help on using tickets.