Branch: refs/heads/main
Revision: c2d9578
Author: daviditen
Log Message:
Merge pull request #18573 from daviditen/generic-channel-in-init
Add tests for issue #12242
[test addition only]
Add two tests for issue #12242 showing that we now have reasonable error
messages for this error case instead of an ICE.
The first issues errors about using 'this' before it is initialized. The second
comments out that use of 'this' and then has errors about default initializing
a generic channel.
Signed-off-by: David Iten daviditen@users.noreply.github.com
Modified Files:
A test/functions/generic/genericChannelInInit1.chpl
A test/functions/generic/genericChannelInInit1.good
A test/functions/generic/genericChannelInInit2.chpl
A test/functions/generic/genericChannelInInit2.good
Compare: https://github.com/chapel-lang/chapel/compare/febaf55fa36a...c2d957866a3e