Just mention here:
I met this error message when invoking a function with keyword arguments
within the class body (but not method body).
The simplest solution is to wrap the function application in another
function that do not passed with keyword arguments.
(define toolbar-snip% : Toolbar-Snip%
(class snip% (super-new)
(init-field src tips)
; WARNING: If (f) is invoked with #:keyword arguments,
; Typed Racket will complains "Cannot Use
Identifier Tainted by Macro Transformation".
; WORKAROUND: Wrapping (f) in another s-exp will solve it.
(define face.icon : Bitmap (values (bitmap src #:height
toolbar-icon-size))))
On Wed, May 11, 2016 at 10:32 AM, copycat <[email protected]> wrote:
> I get the following error:
>
> module: cannot use identifier tainted by macro transformation in: module
>
> when i try to debug a multi-file program with both untyped and typed
> scripts in it. If it's just untyped scripts it will work fine.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.