|
availableKws = [ info("Available keyword parameter: `<prettyAType(kw.fieldType)> <kw.fieldName>` in `<kw.definingModule>`", |unknown:///|) | Keyword kw <- kwFormals ]; |
|
msgs += error(kwa, "Undefined keyword argument %q", kwName, causes=availableKws); |
In case of a non-existing kwparam, we get a list of other kw-params listed in the causes details, but they are not the reason we couldn't find the identifier.
I think this got assigned to the wrong field, and it should be a fix?
I've reviewed the other causes, and they seem correct 👍
rascal/src/org/rascalmpl/compiler/lang/rascalcore/check/ComputeType.rsc
Lines 397 to 398 in 115d649
In case of a non-existing kwparam, we get a list of other kw-params listed in the causes details, but they are not the reason we couldn't find the identifier.
I think this got assigned to the wrong field, and it should be a fix?
I've reviewed the other causes, and they seem correct 👍