From 0c02967d7f2927f9bedb6faf62b0c2c1bcffa219 Mon Sep 17 00:00:00 2001 From: Josh Tynjala Date: Wed, 15 Nov 2023 11:45:10 -0800 Subject: [PATCH] fix Haxe 4.3 deprecation warning --- src/moonshine/dsp/SteppingGranularity.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/moonshine/dsp/SteppingGranularity.hx b/src/moonshine/dsp/SteppingGranularity.hx index 0fc1e20..e8a46d7 100644 --- a/src/moonshine/dsp/SteppingGranularity.hx +++ b/src/moonshine/dsp/SteppingGranularity.hx @@ -26,8 +26,8 @@ package moonshine.dsp; @see https://microsoft.github.io/debug-adapter-protocol/specification#steppinggranularity **/ -@:enum -abstract SteppingGranularity(String) from String to String { +#if haxe4 enum #else @:enum #end abstract SteppingGranularity(String) from String to String { + var Statement = "statement"; var Line = "line"; var Instruction = "instruction";