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
PR #19788 changes things to prevent internal module names from being automatically available in user code by relying on the new public use behavior introduced in #19306 which is good as internal module names are not meant to be user facing, so having ChapelBase be automatically available is a bit odd. However, it does not prevent user code from writing use ChapelBase; / import ChapelBase; (or similarly for other internal modules). In this issue, I'm proposing that we only resolve internal module names for other internal modules, not for user/package/standard modules.
The text was updated successfully, but these errors were encountered:
I wonder whether that could be finessed by having the compiler-injected use ChapelStandard; use a resolved symbol to refer to it, and to put the choke point for other internal modules in the logic that tries to change it from UnresolvedSymbol to resolved...?
…le-ref
Fix failing test fallout from #19788
[trivial, not reviewed]
This test is only run on linux32, so escaped my testing and refers to
an internal module, which is no longer available by default. Here,
I'm using an explicit `use` to bring the module's name into scope,
though this will also break if/when we implement the proposal in
#19793.
PR #19788 changes things to prevent internal module names from being automatically available in user code by relying on the new
public use
behavior introduced in #19306 which is good as internal module names are not meant to be user facing, so havingChapelBase
be automatically available is a bit odd. However, it does not prevent user code from writinguse ChapelBase;
/import ChapelBase;
(or similarly for other internal modules). In this issue, I'm proposing that we only resolve internal module names for other internal modules, not for user/package/standard modules.The text was updated successfully, but these errors were encountered: