mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 22:34:09 +02:00
Nasty intermittent error-removing hack
This commit is contained in:
parent
ae6a2b7ca4
commit
4193a1947d
1 changed files with 6 additions and 1 deletions
|
@ -99,7 +99,12 @@ namespace System
|
||||||
[NoShow(true)]
|
[NoShow(true)]
|
||||||
public static Result<T> Parse<T>(StringView str, bool ignoreCase = false) where T : enum
|
public static Result<T> Parse<T>(StringView str, bool ignoreCase = false) where T : enum
|
||||||
{
|
{
|
||||||
return EnumParser<T>.Parse(str, ignoreCase);
|
[IgnoreErrors(true)]
|
||||||
|
{
|
||||||
|
return EnumParser<T>.Parse(str, ignoreCase);
|
||||||
|
}
|
||||||
|
#unwarn
|
||||||
|
return .Err;
|
||||||
}
|
}
|
||||||
|
|
||||||
[NoShow(true)]
|
[NoShow(true)]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue