File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
src/FSharp.Data.Adaptive/Core Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1+ ### 1.2.19
2+ * guarded conditional LevelChangedException
3+
14### 1.2.18
25* removed LevelChangedException
36
Original file line number Diff line number Diff line change @@ -164,10 +164,10 @@ module AdadptiveObjectExtensions =
164164 if depth > 1 then Transaction.RunningLevel - 1
165165 else Transaction.RunningLevel
166166
167- // if AdaptiveObject.UnsafePerformLevelChecking && x.Level > maxAllowedLevel then
168- // //printfn "%A tried to pull from level %A but has level %A" top.Id level top.Level
169- // // all greater pulls would be from the future
170- // raise <| LevelChangedException(x.Level + depth)
167+ if AdaptiveObject.UnsafePerformLevelChecking && x.Level > maxAllowedLevel then
168+ //printfn "%A tried to pull from level %A but has level %A" top.Id level top.Level
169+ // all greater pulls would be from the future
170+ raise <| LevelChangedException( x.Level + depth)
171171
172172 res <- r
173173
You can’t perform that action at this time.
0 commit comments