Loading templates/wrapperdefinition.inc +3 −1 Original line number Diff line number Diff line Loading @@ -27,8 +27,10 @@ return {{ class.fullName }}(value.toFloat()); {% case "string" %} return {{ class.fullName }}(value.toString()); {% case "boolean" %} return {{ class.fullName }}(value.toBool()); {% default %} // Unsupported wrapped type initializer {{ field.type.type.sourceType }}! // Unsupported wrapped type initializer {{ class.sourceType }}! {% endswitch %} } Loading Loading
templates/wrapperdefinition.inc +3 −1 Original line number Diff line number Diff line Loading @@ -27,8 +27,10 @@ return {{ class.fullName }}(value.toFloat()); {% case "string" %} return {{ class.fullName }}(value.toString()); {% case "boolean" %} return {{ class.fullName }}(value.toBool()); {% default %} // Unsupported wrapped type initializer {{ field.type.type.sourceType }}! // Unsupported wrapped type initializer {{ class.sourceType }}! {% endswitch %} } Loading