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

Parse the assembly type based on the inheritance clause #115

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

skorulis-ap
Copy link
Collaborator

@skorulis-ap skorulis-ap commented Feb 7, 2024

This opens up the possibility of enforcing that only classes implementing AbstractAssembly use abstract registrations. It will also be useful from an analysis perspective to know which assemblies are using AutoInitModuleAssembly

@skorulis-ap skorulis-ap force-pushed the skorulis/parse-type branch 2 times, most recently from a272b9d to b69aefd Compare February 8, 2024 04:42
@skorulis-ap skorulis-ap marked this pull request as ready for review February 12, 2024 21:52
@@ -0,0 +1,6 @@
// Created by Alexander skorulis on 7/2/2024.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nit: remove

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks

Comment on lines -112 to +119
return visitAssemblyType(node)
return visitAssemblyType(node, node.inheritanceClause)
Copy link
Collaborator

Choose a reason for hiding this comment

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

That's kind of funky, is inheritanceClause not available from NamedDeclSyntax?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Nope, it just has a name.

@skorulis-ap skorulis-ap merged commit f7ff813 into main Feb 29, 2024
5 checks passed
@skorulis-ap skorulis-ap deleted the skorulis/parse-type branch February 29, 2024 02:46
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.

2 participants