Have provide/contract-transformers appropriately check to see whether we
are within a with-contract scope. Not quite sure if this code is 100% correct (in terms of being written apprropiately), but it does the job for now. svn: r11676
This commit is contained in:
parent
fa92cb2677
commit
33d3cb7cd0
|
@ -265,7 +265,8 @@ improve method arity mismatch contract violation error messages?
|
|||
#`(-contract contract-id
|
||||
id
|
||||
pos-module-source
|
||||
(module-source-as-symbol #'name)
|
||||
(or '#,(syntax-parameter-value #'current-contract-region)
|
||||
(module-source-as-symbol #'name))
|
||||
#,(id->contract-src-info #'id))))))])
|
||||
(when key
|
||||
(hash-set! saved-id-table key lifted-id))
|
||||
|
|
Loading…
Reference in New Issue
Block a user