19224, "aconsroe-hpe", "unsupported case in resolveTypeAlias", "2022-02-08T20:07:51Z"
I hit a compiler bug and the following reproduces it:
doesn't compile
var myr: r;
param foo = false;
type t = if foo then int else real;
record r {var x: t;}
test/configparam.chpl:3: internal error: unsupported case in resolveTypeAlias [resolution/functionResolution.cpp:8674]
compiles
// var myr: r; // <-- doesn't work here
param foo = false;
// var myr: r; // <-- doesn't work here
type t = if foo then int else real;
// var myr: r; // <-- works here
record r {var x: t;}
var myr: r; // <-- works here too
So the location of var myr: r;
changes whether we hit this bug.