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

Basic support for composite types (union and intersection) #18

Merged
merged 31 commits into from
Jul 9, 2024

Conversation

alexeev509
Copy link
Collaborator

  1. Were added union types and intersections types supporting in:
  • global variables types
  • type fields (in types declarations)
  • annotations fields (in annotation declarations)
  • in automatons constructor params
  • in automatons types
  • in types of local automatons variables
  • in funs/procs return types.
  • in funs/procs argument types.
  • in funs/procs local variables types.
  1. Was added new class: "СompositeType"
  2. Were added tests (see "compositeTypes.lsl")

@alexeev509 alexeev509 added the enhancement New feature or request label Jun 14, 2024
@alexeev509 alexeev509 requested a review from dog-m June 14, 2024 16:48
@alexeev509 alexeev509 self-assigned this Jun 14, 2024
@alexeev509 alexeev509 marked this pull request as draft June 14, 2024 16:50
@alexeev509 alexeev509 marked this pull request as ready for review July 3, 2024 11:48
Were added fields name, typeBound, genericReferences for this typeRef;
@dog-m dog-m changed the title Composite types. Basic support for composite types (union and intersection) Jul 9, 2024
@dog-m dog-m merged commit 98d0476 into stable Jul 9, 2024
3 checks passed
@vpa-research vpa-research locked and limited conversation to collaborators Jul 9, 2024
@dog-m dog-m deleted the Alexeev-composite-types branch August 22, 2024 01:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants