Commit a2cf689
fix: treat 'void' qualified name as VoidType in Java action return type
'returns void' parses as a bare qualified name (TypeEnumeration with
EnumRef{Name:"void"}) because the grammar has no VOID keyword in the
dataType rule. astDataTypeToJavaActionReturnType was falling through to
the EntityType case, producing EntityType{Entity:".void"}, which caused
CE1613 "The selected entity '.void' no longer exists." in Studio Pro.
Fix: when the resolved entity name is "void" (case-insensitive, with or
without the empty-module dot prefix), return VoidType instead.
Also restore the full empty_java_action_argument.mdl content (module,
entity, and java action setup) that was dropped during the rebase of the
misc branch — git skipped the upstream fixup commits that added them.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 5fbead4 commit a2cf689
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
571 | 571 | | |
572 | 572 | | |
573 | 573 | | |
| 574 | + | |
574 | 575 | | |
575 | 576 | | |
576 | 577 | | |
577 | 578 | | |
578 | 579 | | |
579 | 580 | | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
580 | 589 | | |
581 | 590 | | |
582 | 591 | | |
| |||
0 commit comments