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

Merge create_type_dag handler with create_reference handler #1147

Merged

Conversation

taichi-ishitani
Copy link
Contributor

@taichi-ishitani taichi-ishitani commented Dec 14, 2024

To resolve #1131, resolved generic parameters are needed when building type dag and this is achieved by building tyep dag at same time resolving generic parameters.
This PR is to merge create_type_tag handler with create_referecne handler for this purpose.

fix #1131
fix #1070

@taichi-ishitani taichi-ishitani force-pushed the merge_reference_and_type_dag branch 6 times, most recently from 6557d91 to e18356b Compare December 15, 2024 10:13
@taichi-ishitani taichi-ishitani changed the title Merge create_reference and create_type_dag handlers Merge create_type_dag handler with create_reference handler Dec 15, 2024
@taichi-ishitani taichi-ishitani force-pushed the merge_reference_and_type_dag branch from e18356b to 25a28d5 Compare December 15, 2024 15:46
@@ -166,6 +325,132 @@ impl Handler for CreateReference<'_> {
}

impl VerylGrammarTrait for CreateReference<'_> {
fn veryl(&mut self, arg: &Veryl) -> Result<(), ParolError> {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about following the function order of VerylGrammarTrait implementation.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed function order.

@taichi-ishitani taichi-ishitani force-pushed the merge_reference_and_type_dag branch from 25a28d5 to 014b2f6 Compare December 16, 2024 03:13
@dalance dalance enabled auto-merge December 16, 2024 03:14
@dalance dalance merged commit 22cb6d6 into veryl-lang:master Dec 16, 2024
7 checks passed
@taichi-ishitani taichi-ishitani deleted the merge_reference_and_type_dag branch December 16, 2024 03:17
@dalance dalance added this to the v0.13.4 milestone Dec 27, 2024
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.

generic interface file is empty Reference through expression is not affected to filelist order
2 participants