You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See the test in file js/tests/known-failing/t182_inheritsExternal.grace
The class stringSet attempt to inherit from fd.dictionary.empty, where fd is a nickname of the external module fastDict. The gct for _fastDictsays thatdictionaryis a fresh method, and that it has an attributeempty, but not that dictionary.empty` is fresh, or what attributes it has.
Hence, minigrace is unable to resolve implicit requests to at(_)put(_), etc, inherited from fd.dictionary.empty. They have to be turned into explicit self requests to allow th test to compile.
Fixing this issue will require more information in the gct, or a better way of doing inter-module name resolution.
The text was updated successfully, but these errors were encountered:
apblack
changed the title
Can't inherit from external module
Can't inherit from sub-component of external module
Nov 18, 2018
See the test in file
js/tests/known-failing/t182_inheritsExternal.grace
The class
stringSet
attempt to inherit fromfd.dictionary.empty
, wherefd
is a nickname of the external module fastDict. The gct for _fastDictsays that
dictionaryis a fresh method, and that it has an attribute
empty, but not that
dictionary.empty` is fresh, or what attributes it has.Hence, minigrace is unable to resolve implicit requests to
at(_)put(_)
, etc, inherited fromfd.dictionary.empty
. They have to be turned into explicitself
requests to allow th test to compile.Fixing this issue will require more information in the gct, or a better way of doing inter-module name resolution.
The text was updated successfully, but these errors were encountered: