0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

スタックアンダーフロー

0
Posted at

謎なスタックアンダーフローに遭遇したので共有

switch (0) { case 1: { } break; }
trace("a");

※実際は間に色んな処理があったが、最小で再現するところまで小さくした結果です。

条件

  • case 文の中に 空の ブロック({}) がある。
  • case 文より後に trace がある。
  • case 文が別メソッドにある場合、trace 文より行数的に前にあれば再現する。
  • コンパイル時に Omit Trace(trace 文を削除する設定)を有効(True)にしてリリースコンパイル

もしかしたら FlexSDK のみかも、試してないからわかんない

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?