Browse Source

Fix: ReverseFunction.Instance type

AnnulusGames 1 year ago
parent
commit
babcd5af92
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Lua/Standard/Text/ReverseFunction.cs

+ 1 - 1
src/Lua/Standard/Text/ReverseFunction.cs

@@ -5,7 +5,7 @@ namespace Lua.Standard.Text;
 public sealed class ReverseFunction : LuaFunction
 {
     public override string Name => "reverse";
-    public static readonly LenFunction Instance = new();
+    public static readonly ReverseFunction Instance = new();
 
     protected override ValueTask<int> InvokeAsyncCore(LuaFunctionExecutionContext context, Memory<LuaValue> buffer, CancellationToken cancellationToken)
     {