Skip to content

Add support for 'interface' and 'unmanaged' generic constraints#437

Open
Bazooper-blip wants to merge 1 commit intointegrated-application-development:masterfrom
Bazooper-blip:generic-constraints-interface-unmanaged
Open

Add support for 'interface' and 'unmanaged' generic constraints#437
Bazooper-blip wants to merge 1 commit intointegrated-application-development:masterfrom
Bazooper-blip:generic-constraints-interface-unmanaged

Conversation

@Bazooper-blip
Copy link
Copy Markdown

Delphi 13 introduces two new generic constraint keywords:

  • 'interface': ensures type parameter implements an interface
  • 'unmanaged': ensures type parameter is a simple value type

Adds full constraint pipeline: API interfaces, AST nodes, constraint implementations with cross-constraint compatibility, grammar rules, visitor methods, and comprehensive tests.

Closes #413, closes #414

Delphi 13 introduces two new generic constraint keywords:
- 'interface': ensures type parameter implements an interface
- 'unmanaged': ensures type parameter is a simple value type

Adds full constraint pipeline: API interfaces, AST nodes,
constraint implementations with cross-constraint compatibility,
grammar rules, visitor methods, and comprehensive tests.

Closes integrated-application-development#413, closes integrated-application-development#414

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support unmanaged generic constraint Support interface generic constraint

1 participant