Skip to content

[SWF] Safe cast doesn't throw exception in case of a failing cast  #6482

@wolfhoundgelert

Description

@wolfhoundgelert

In the haxe manual https://haxe.org/manual/expression-cast-safe.html

The Haxe compiler guarantees that an exception of type String is thrown in this case.

But nothing happens on SWF-target https://try.haxe.org/#9c38D

Metadata

Metadata

Labels

platform-csEverything related to c#platform-javaEverything related to Javaplatform-luaEverything related to Lua

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions