Skip to content

[flash] Unbound variable with captured inline extern argument and doc-gen #13021

Description

@tobil4sk
class Test {
  @:extern inline function foo(v) {
    return function() v;
  }
}
Test
-D doc-gen
-swf main.swf
[ERROR] Test.hx:3: characters 23-24

 3 |     return function() v;
   |                       ^
   | Unbound variable v

It also happens with haxe 3.4.7 so it's not a recent regression.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions