mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-15 06:15:44 +08:00
GCC fix
This commit is contained in:
parent
4ffa98f4df
commit
f16d002db9
@ -341,7 +341,7 @@ TEST_CASE_FIXTURE(Fixture, "equal_function")
|
||||
INFO(diffRes.diffError->toString());
|
||||
CHECK(!diffRes.diffError.has_value());
|
||||
}
|
||||
catch (InternalCompilerError e)
|
||||
catch (const InternalCompilerError& e)
|
||||
{
|
||||
INFO(("InternalCompilerError: " + e.message));
|
||||
CHECK(false);
|
||||
@ -377,7 +377,7 @@ TEST_CASE_FIXTURE(Fixture, "equal_function_inferred_ret_length")
|
||||
INFO(diffRes.diffError->toString());
|
||||
CHECK(!diffRes.diffError.has_value());
|
||||
}
|
||||
catch (InternalCompilerError e)
|
||||
catch (const InternalCompilerError& e)
|
||||
{
|
||||
INFO(("InternalCompilerError: " + e.message));
|
||||
CHECK(false);
|
||||
|
Loading…
Reference in New Issue
Block a user