-
Notifications
You must be signed in to change notification settings - Fork 187
Description
I think it's better to separate type and name resolution, fortunately, if we do it now, it's just a little change. Here're the steps:
- Create
Resolution
class inherited fromAST::ASTVisitor
, and movestatic bool ResolveNamesAndTypes
into it. - Separate
TypeResolution
andNameResolution
class inherited fromResolution
class. - Put them in different files.
This is better for maintenance and working parallelly.
And the name resolution will distinct names from different namespaces, like values, macros, so it's an important prerequisite for the rest of the work.
If it's OK, then I can raise PR for it.
What do you think? @philberty @SimplyTheOther
Metadata
Metadata
Assignees
Labels
No labels