I'm finishing debugging warnings when compiling royale-asjs and I have another
question with the “instanceof” statement.
The specific message is: “Use of the instanceof operator. The instanceof
operator is deprecated, use the is operator instead”
These messages only appear in the XML project and I don't know why. For example:
if (xml1 instanceof XMLList) return XMLList.mixedEquality(xml1
as XMLList, other);
^
I understand that this instruction should be modified to:
if (xml1 is XMLList) return XMLList.mixedEquality(xml1 as XMLList, other);
But I want to understand why when compiling the Network project, the same
warning is not shown in AMFContext.as (and in many other files)
Does anyone know? 😝
Hiedra