-
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
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
Labels
enhancementNew feature or requestNew feature or request