Fixes bug 180895: letrec error message not as helpful as let
This commit is contained in:
		
							parent
							
								
									fbebc96bfa
								
							
						
					
					
						commit
						62765c2885
					
				|  | @ -1 +1 @@ | ||||||
| 1333 | 1334 | ||||||
|  |  | ||||||
|  | @ -832,7 +832,7 @@ | ||||||
|       (syntax-match e () |       (syntax-match e () | ||||||
|         ((_ ((lhs* rhs*) ...) b b* ...) |         ((_ ((lhs* rhs*) ...) b b* ...) | ||||||
|          (if (not (valid-bound-ids? lhs*)) |          (if (not (valid-bound-ids? lhs*)) | ||||||
|              (stx-error e "invalid identifiers") |              (invalid-fmls-error e lhs*) | ||||||
|              (let ((lex* (map gen-lexical lhs*)) |              (let ((lex* (map gen-lexical lhs*)) | ||||||
|                    (lab* (map gen-label lhs*))) |                    (lab* (map gen-label lhs*))) | ||||||
|                (let ((rib (make-full-rib lhs* lab*)) |                (let ((rib (make-full-rib lhs* lab*)) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Abdulaziz Ghuloum
						Abdulaziz Ghuloum