Skip to content

Rosetta data needs to be able to override analysed data #19

@demiurgeQuantified

Description

@demiurgeQuantified

Sometimes there is no practical way for type analysis to know the type of a variable without hardcoded hacks:

IsoGameCharacter character = getCharacter();
if (character.isZombie()) {
    LuaEventManager.triggerEvent("OnZombieDoSomething", character)
}

This event will only be triggered if the character is an IsoZombie; however, it is very difficult for the analyser to know this without having hardcoded hacks for functions such as isZombie(). In cases like this, the Rosetta data should be able to take priority and change the type to IsoZombie even though it is not a compatible type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions