warning cleanup

This commit is contained in:
gnembon committed 2023-02-08 21:13:15 +01:00
1 parent 5ab4a9e442
commit 277872b33c
106 files changed
+4495 -4345

No files matched your search

@@ -2,12 +2,15 @@ package carpet.script.exception;
import carpet.script.value.Value;
import javax.annotation.Nullable;
/* Exception thrown to terminate execution mid expression (aka return statement) */
public class ExitStatement extends StacklessRuntimeException
{
@Nullable
public final Value retval;
public ExitStatement(final Value value)
public ExitStatement(@Nullable Value value)
{
retval = value;
}