Skip to content

Fatal error: Label 'c1107822099' already defined #160

@thekid

Description

@thekid

...when emitting a try/catch nested inside a catch block for PHP 7.0:

use lang\IllegalArgumentException;

class Test {
  public function run() {
    try {
      throw new IllegalArgumentException("test");
    } catch (IllegalArgumentException $expected) {
      try {
        throw $expected;
      } catch (IllegalArgumentException $expected) {
        return $expected->getMessage();
      }
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions