updated todo

This commit is contained in:
pca006132 2020-12-30 16:29:21 +08:00
parent ae953b9728
commit aaebe4e574

View File

@ -19,4 +19,10 @@ GlobalContext:
- TypeVar definition stack
- Provide subst, inv_subst, blablabla
- Cache type var method lookup (dropped when related assumptions are changed)
- Responsible for printing the error (lookup module/type info, handle line number offset)
Name Resolution:
- Get class/methods, track module via `inspect.getmodule`
- GlobalContext store function/class - module association, perform name
resolution in the module when identifier is unbounded, and check its type