@effect/stm
Advanced tools
Comparing version 0.10.2 to 0.10.3
@@ -312,3 +312,10 @@ "use strict"; | ||
{ | ||
curr = current.i0; | ||
if (current.trace) { | ||
const stm = new STMPrimitive(OpCodes.OP_TRACED); | ||
stm.i1 = current.i0; | ||
stm.trace = current.trace; | ||
curr = stm; | ||
} else { | ||
curr = current.i0; | ||
} | ||
break; | ||
@@ -315,0 +322,0 @@ } |
{ | ||
"name": "@effect/stm", | ||
"version": "0.10.2", | ||
"version": "0.10.3", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -159,3 +159,3 @@ import * as Chunk from "@effect/data/Chunk" | ||
public i2: any = undefined | ||
public trace = undefined; | ||
public trace: Debug.Trace = undefined; | ||
[Effect.EffectTypeId] = stmVariance | ||
@@ -535,3 +535,10 @@ get [STMTypeId]() { | ||
case "Traced": { | ||
curr = current.i0 | ||
if (current.trace) { | ||
const stm = new STMPrimitive(OpCodes.OP_TRACED) | ||
stm.i1 = current.i0 | ||
stm.trace = current.trace | ||
curr = stm as any | ||
} else { | ||
curr = current.i0 | ||
} | ||
break | ||
@@ -538,0 +545,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1797509
29863