From fdf7cc5c799bab247186ee5520e0163b6887cf40 Mon Sep 17 00:00:00 2001 From: Quahu Date: Thu, 21 Sep 2023 20:42:15 +0200 Subject: [PATCH] Fixed build. --- src/Laylua.Playground/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Laylua.Playground/Program.cs b/src/Laylua.Playground/Program.cs index 34aa3ed..1e95689 100644 --- a/src/Laylua.Playground/Program.cs +++ b/src/Laylua.Playground/Program.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics; using System.Globalization; using System.Linq; @@ -290,7 +290,7 @@ static int deln(lua_State* L) lua.Execute("print(#mixed)"); var mixedTable = lua.GetGlobal("mixed")!; - foreach (var kvp in mixedTable.EnumeratePairs()) + foreach (var kvp in mixedTable) { Console.WriteLine("[{0}] = {1}", kvp.Key, kvp.Value); }