Update Compiler.cpp

Restore newlines to better match existing style
This commit is contained in:
Arseny Kapoulkine 2021-11-05 13:14:00 -07:00 committed by GitHub
parent 67b9e834fa
commit dc51e39c92
Signed by: DevComp
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2892,6 +2892,7 @@ struct Compiler
result.valueNumber = -arg.valueNumber;
}
break;
case AstExprUnary::Len:
if (arg.type == Constant::Type_String)
{
@ -2899,6 +2900,7 @@ struct Compiler
result.valueNumber = double(arg.valueString.size);
}
break;
default:
LUAU_ASSERT(!"Unexpected unary operation");
}