Skip to content

Conversation

@Kroisse
Copy link
Contributor

@Kroisse Kroisse commented Mar 8, 2020

ast.Callast.CallBind, ast.ModuleCallast.ModuleCallBind가 각각 analyzer에서 유사하게 취급되고 있었는데, CallCallBind 둘 사이에 어느 쪽으로든 상속 관계를 만들기가 애매해서 별도로 CallLikeModuleCallLike 인터페이스를 두는 식으로 때워 두었습니다.

또한 기존의 @ast.def 데코레이터로는 클래스에 새로운 메서드를 추가했다는 걸 타입에 반영할 방법이 없었기에, 그냥 ast.Defbuiltin.Yaksok 각각에 직접 해당 메서드를 추가하는 식으로 우회했습니다.

@Kroisse Kroisse marked this pull request as ready for review March 8, 2020 13:48
@disjukr disjukr merged commit 26a00e1 into yaksok:master Mar 8, 2020
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