From 776db44e37bc909299d896865f1c46e80b2e9681 Mon Sep 17 00:00:00 2001 From: player-03 Date: Sat, 1 Apr 2023 11:29:35 -0400 Subject: [PATCH] Add missing type declaration. Nowadays you're supposed to omit this type declaration, but what I didn't realize is that that feature was added in Haxe 4.1. Since Lime still needs to support earlier versions, we'll just have to do it the old way. --- src/lime/system/CFFI.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lime/system/CFFI.hx b/src/lime/system/CFFI.hx index c6e7be02a..cf0dbb035 100644 --- a/src/lime/system/CFFI.hx +++ b/src/lime/system/CFFI.hx @@ -285,7 +285,7 @@ class CFFI { init = load("lime", "neko_init", 5); } - catch (e) + catch (e:Dynamic) { }