Branch: refs/heads/master
Revision: 5002d05
Author: vasslitvinov
Log Message:
Merge pull request #17353 from vasslitvinov/fix-CG-crashes
CG: Fix some compiler crashes
In this PR:
- instantiate the return type of a CG function when resolving a call to it
- do not try to match constraints for different InterfaceSymbols
in satisfyingEnclConstraint() - adjust CG tests accordingly
- minor renaming and reformatting of CG code
Non-CG code is not affected.
Trivial, not reviewed.
Modified Files:
R test/constrained-generics/ucol/cwailes-2/tier_2_increasing_constraints.bad
R test/constrained-generics/ucol/cwailes-2/tier_2_increasing_constraints.future
R test/constrained-generics/ucol/cwailes-2/tier_2_independent_check_single_model.future
M compiler/AST/interfaces.cpp
M compiler/include/stmt.h
M compiler/resolution/interfaceResolution.cpp
M test/constrained-generics/ucol/cwailes-2/tier_2_increasing_constraints.good
M test/constrained-generics/ucol/cwailes-2/tier_2_model_duplication.bad
M test/constrained-generics/ucol/cwailes-2/tier_2_model_duplication.future
M test/constrained-generics/ucol/cwailes-2/tier_2_single_interface_multi_model.bad
M test/constrained-generics/ucol/cwailes-2/tier_2_single_interface_multi_model.future
Compare: https://github.com/chapel-lang/chapel/compare/febb8d7303db...5002d056c5a6