Fix IE 2012101001 when specializing generic type aliases (#41700)

Fixes #41700

generic TAlias<T> = ExistingRecord followed by specialize TAlias<Integer> crashed because insert_generic_parameter_types was never called for type aliases, leaving genericparas nil. Fix creates a fresh recorddef shell with properly initialized generic params instead of reusing (and corrupting) the original type's def.

Edited by Fibonacci

Merge request reports

Loading