We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
error-to-raise-arguments-error
1 parent f16875e commit ef8d3dfCopy full SHA for ef8d3df
default-recommendations/analyzers/private/expanded-id-table.rkt
@@ -55,11 +55,7 @@
55
(expanded-id-table (make-hasheq)))
56
57
58
-(define (expanded-id-table-ref table id [failure-result (λ () (raise-arguments-error
59
- 'expanded-id-table-ref
60
- "no mapping for"
61
- "id"
62
- id))])
+(define (expanded-id-table-ref table id [failure-result (λ () (error 'expanded-id-table-ref "no mapping for ~a" id))])
63
(define phase (expanded-identifier-phase id))
64
(define stx (expanded-identifier-syntax id))
65
(define phase-table (hash-ref (expanded-id-table-table table) phase #false))
0 commit comments