diff --git a/lib/orb/stack.ex b/lib/orb/stack.ex index 1d4b5f7..b9afb2a 100644 --- a/lib/orb/stack.ex +++ b/lib/orb/stack.ex @@ -18,6 +18,7 @@ defmodule Orb.Stack do raise ArgumentError, message: "Cannot drop instruction pushing nothing to the stack." + # TODO: what about custom types? {nil, type} when is_atom(type) -> %__MODULE__{ instruction: instruction,