// in the GemCutter to display as a 1 argument gem with output type Int -> [a], but the overall type of the burnt take gem is
// is [a] -> (Int -> [a]) which is just [a] -> Int -> [a] (-> is right associative) and has result type [a], as with the unburnt
// take gem.
TypeExpr destResultTypeExpr = destType.getResultType();
if (destResultTypeExpr.rootTypeVar() == null && !TypeExpr.canUnifyType(destResultTypeExpr, outputType.getResultType(), info.getModuleTypeInfo())) {
//only do the check if the destination result type is a type constructor or record type.
//the reason for this is that if it is a parameteric type, we are likely to succeed here...
doNotTryBurning = true;
}
}