Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import v2.std.optional { Absent, Optional, Present, optional_absent, optional_pr
import v2.std.text { String }
import std.algebra { Cons, Empty }
import extdeps.communication.medium { Lossless, Medium }
import v2.compiler.native_test_vocabulary { native_test_file_refusal_fatal_reason }

data live_tree_disposition: LiveTreeDisposition = SubstrateInputsOnly

Expand Down Expand Up @@ -205,7 +206,7 @@ fn cav_file_refusal_reason(context: NativeTestContext, unit: Symbol) -> Optional
xs: context.file_refusals,
empty: optional_absent(),
cons: fn(acc, refusal) {
if refusal.path == unit { optional_present(value: refusal.fatal_reason) } else { acc }
if refusal.path == unit { optional_present(value: native_test_file_refusal_fatal_reason(fr: refusal)) } else { acc }
}
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import v2.std.optional { Absent, Optional, Present, optional_absent, optional_pr
import v2.std.text { String }
import std.algebra { Cons, Empty }
import extdeps.communication.medium { Lossless, Medium }
import v2.compiler.native_test_vocabulary { native_test_file_refusal_fatal_reason }

data live_tree_disposition: LiveTreeDisposition = SubstrateInputsOnly

Expand Down Expand Up @@ -167,7 +168,7 @@ fn iasl_file_refusal_reason(context: NativeTestContext, unit: Symbol) -> Optiona
xs: context.file_refusals,
empty: optional_absent(),
cons: fn(acc, refusal) {
if refusal.path == unit { optional_present(value: refusal.fatal_reason) } else { acc }
if refusal.path == unit { optional_present(value: native_test_file_refusal_fatal_reason(fr: refusal)) } else { acc }
}
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import v2.std.optional { Absent, Optional, Present, optional_absent, optional_pr
import v2.std.text { String }
import std.algebra { Cons, Empty }
import extdeps.communication.medium { Lossless, Medium }
import v2.compiler.native_test_vocabulary { native_test_file_refusal_fatal_reason }

data live_tree_disposition: LiveTreeDisposition = SubstrateInputsOnly

Expand Down Expand Up @@ -151,7 +152,7 @@ fn lme_file_refusal_reason(context: NativeTestContext, unit: Symbol) -> Optional
xs: context.file_refusals,
empty: optional_absent(),
cons: fn(acc, refusal) {
if refusal.path == unit { optional_present(value: refusal.fatal_reason) } else { acc }
if refusal.path == unit { optional_present(value: native_test_file_refusal_fatal_reason(fr: refusal)) } else { acc }
}
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import v2.std.optional { Absent, Optional, Present, optional_absent, optional_pr
import v2.std.text { String }
import std.algebra { Cons, Empty }
import extdeps.communication.medium { Lossless, Medium }
import v2.compiler.native_test_vocabulary { native_test_file_refusal_fatal_reason }

data live_tree_disposition: LiveTreeDisposition = SubstrateInputsOnly

Expand Down Expand Up @@ -183,7 +184,7 @@ fn rtp_file_refusal_reason(context: NativeTestContext, unit: Symbol) -> Optional
xs: context.file_refusals,
empty: optional_absent(),
cons: fn(acc, refusal) {
if refusal.path == unit { optional_present(value: refusal.fatal_reason) } else { acc }
if refusal.path == unit { optional_present(value: native_test_file_refusal_fatal_reason(fr: refusal)) } else { acc }
}
)
}
Expand Down