Skip to content

Context.typeof has side effects (inference. others?) #10

@jcward

Description

@jcward

As shown here: http://try-haxe.mrcdk.com/#DeCd8

Calling Context.typeof can cause monomorphs to harden. So my strategy of "call typeof until one succeeds" is not 100% fail-safe.

I could warn if any of the incoming params are monomorphs (though I think the behavior could be deeper than the params themselves?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions