Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Wolverine/ISideEffect.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public Frame Apply(IChain chain, Variable variable, GenerationRules rules,

private static void applySideEffectExecution(Variable effect, IChain chain)
{
if (effect.GetType() == typeof(ISideEffect))
if (effect.VariableType == typeof(ISideEffect))
{
throw new InvalidOperationException($"Return the concrete type of ISideEffect so that Wolverine can 'know' how to call into your side effect and not ISideEffect itself");
}
Expand Down
Loading