16489, “vasslitvinov”, “Bug: infinite loop or recursion in the compiler”, “2020-09-28T19:50:56Z”
This code throws the compiler into an infinit loop or recursion, all along throwing INT_FATAL at AggregateType.cpp:1961 :
module Lib {
class MyRecord { }
var myR = new shared MyRecord()?;
proc libFun(myArg) {
var myRec = myArg: class;
}
proc main {
libFun(myR);
}
}
Tests: none, I do not see how to fit this kind of failure in the test system. Might be easier just to fix it.
Chapel default configuration, chpl version: 1.23.0 pre-release (1b513e2cda)