Commit 38eee75b authored by Botond Baranyi's avatar Botond Baranyi Committed by Gerrit Code Review
Browse files

Merge "just extracted the identical function call to save double calling."

parents 2a471f59 943cbed9
......@@ -373,10 +373,11 @@ void SimpleType::addToTypeSubstitutions() {
//It would be nice if here outside_reference.resolved to everything
bool newST = false;
SimpleType * st = (SimpleType*)outside_reference.get_ref();
if(st == NULL && !isBuiltInType(type.convertedValue)){
bool isConvertedBuiltIn = isBuiltInType(type.convertedValue);
if(st == NULL && !isConvertedBuiltIn){
//Not even a reference, and not a built in type
}else if(st == NULL && isBuiltInType(type.convertedValue)){
}else if(st == NULL && isConvertedBuiltIn){
st = new SimpleType(parser, module, construct);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment