use of org.wso2.ballerinalang.compiler.semantics.model.types.BBuiltInRefType in project ballerina by ballerina-lang.
the class SemanticAnalyzer method validateTransformerMappingType.
private void validateTransformerMappingType(BLangVariable param) {
BType type = param.type;
if (types.isValueType(type) || (type instanceof BBuiltInRefType) || type.tag == TypeTags.STRUCT) {
return;
}
dlog.error(param.pos, DiagnosticCode.TRANSFORMER_UNSUPPORTED_TYPES, type);
}
Aggregations