Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
if nclassdef isa AStdClassdef then
var mclassdef = nclassdef.mclassdef
# check bound of formal parameter
if nclassdef isa AStdClassdef then
var mclassdef = nclassdef.mclassdef
# check bound of formal parameter
- for nfd in nclassdef.n_formaldefs do
+ for nfd in nclassdef.n_formaldefs do
var nfdt = nfd.n_type
if nfdt != null and nfdt.mtype != null then
var bound = resolve_mtype(mmodule, mclassdef, nfdt)
var nfdt = nfd.n_type
if nfdt != null and nfdt.mtype != null then
var bound = resolve_mtype(mmodule, mclassdef, nfdt)