Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[macro] reification pattern matching regression #11670

Closed
kLabz opened this issue May 15, 2024 · 1 comment · Fixed by #11671
Closed

[macro] reification pattern matching regression #11670

kLabz opened this issue May 15, 2024 · 1 comment · Fixed by #11671
Assignees
Labels
platform-macro Everything related to Haxe macros regression
Milestone

Comments

@kLabz
Copy link
Contributor

kLabz commented May 15, 2024

This has been failing since 4.3.2:

class Test {
  static function main() {
    test(var foo:String);
  }
  
  static macro function test(e) {
    switch e {
        // Unrecognized pattern: untyped $__mk_pos__("Test.hx", 145, 150)
        case macro var $name:$ct:
        case _:

    }
        
    return macro {};
  }
}

https://try.haxe.org/#8715e05c

@kLabz kLabz added platform-macro Everything related to Haxe macros regression labels May 15, 2024
@kLabz kLabz added this to the 4.3 Hotfix milestone May 15, 2024
@kLabz kLabz self-assigned this May 15, 2024
@kLabz
Copy link
Contributor Author

kLabz commented May 15, 2024

Broken by ##11163

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform-macro Everything related to Haxe macros regression
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant