16495, “vasslitvinov”, “Can we remove ‘initializers defined outside the module’ warning?”, “2020-09-28T22:32:23Z”
[for post-1.23 consideration]
Currently the compiler / AggregateType.cpp in some cases produces the warning:
warning: initializers defined outside the module where the type was originally defined may cause issues
note: This will no longer be a problem when constructors are deprecated
Can this be removed now, or else rephrased to be more specific?
Tests: these currently contain this warning in .good:
test/classes/initializers/secondary/inDiffModule.chpl
test/classes/initializers/secondary/inDiffModule2.chpl
test/classes/initializers/secondary/inDiffModule3.chpl
test/classes/initializers/secondary/inDiffModuleBothSecondaryAndPrimary.chpl
test/classes/initializers/secondary/inDiffModuleBothSecondaryAndPrimary2.chpl