mirror of
https://github.com/luau-lang/luau.git
synced 2025-01-19 17:28:06 +00:00
more macro crimes
This commit is contained in:
parent
dafee8bbef
commit
50e8dd0d71
1 changed files with 3 additions and 1 deletions
|
@ -949,9 +949,11 @@ DifferResult diff(TypeId ty1, TypeId ty2)
|
||||||
{
|
{
|
||||||
#if defined(__GNUC__) && defined(__linux__)
|
#if defined(__GNUC__) && defined(__linux__)
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
#if !defined(__has_warning) || __has_warning("-Wmaybe-uninitialized")
|
#if defined(__has_warning)
|
||||||
|
#if __has_warning("-Wmaybe-uninitialized")
|
||||||
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
DifferEnvironment differEnv{ty1, ty2, std::nullopt, std::nullopt};
|
DifferEnvironment differEnv{ty1, ty2, std::nullopt, std::nullopt};
|
||||||
|
|
Loading…
Reference in a new issue