✓
Passing This code compiles and runs correctly.
Code
// The ECS spelling of param capture: `pos += vel * dt` across several rows.
//
// 690_234 is the CANONICAL pin for this gap — it recorded it first, named the
// branch-binding contrast that proved it mechanical, and carried its own flip
// instruction. This test is the consumer layout of the same shape: two rows,
// real arithmetic, a system tor taking `dt`. Kept deliberately alongside the
// minimal spelling, because the green region around a behaviour is exactly as
// wide as the test that pins it — a moved line break or a second row is a
// different program to the compiler and the same program to its author.
//
// WHAT WAS ACTUALLY WRONG. Not a scope rule and not a design boundary. A tor's
// parameter materializes as `const dt = __koru_event_input.dt;` in the very
// frame that calls the sweeprun, one line above the call. The capture collector
// gathered mid-pipe binds, and gathered event INPUTS only when the host flow
// was a synthesized `__store_sweepbody_` (the nested-sweep case), so a user tor
// never took that branch. Everything else already worked: a sweep arm inside a
// tor body captures a mid-chain bind today, through the same two hops.
//
// The measurement that settled it: the SAME `dt`, the SAME body, reached the
// arm when it arrived as `tick(): dt |> query …` and did not when declared as
// a parameter. One origin, not one scope.
//
// NOT T1. T1 is transplant-purity for a WATCH body — spliced into the store's
// write path and executed wherever a write happens, so it cannot close over its
// declaring scope. A sweep body runs at the sweep site in the caller's frame.
import std/io
import std/store
std/store:new(bodies, capacity: 8) { px: 0[i64], vx: 0[i64] }
std/store:insert(bodies) { px: 0, vx: 1 }
std/store:insert(bodies) { px: 10, vx: 3 }
pub tor integrate { dt: i64 }
integrate = std/store:query(bodies)
! query e |> std/store:stored { e.px: e.px + e.vx * dt }
integrate(dt: 2)
std/store:query(bodies)
! query e |> std/io:print.ln("px {{ e.px:d }}")
Supporting Files
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v8.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v8.0": {
"a_cs_equiv/1.0.0": {
"runtime": {
"a_cs_equiv.dll": {}
}
}
}
},
"libraries": {
"a_cs_equiv/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}{
"runtimeOptions": {
"tfm": "net8.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "8.0.0"
},
"configProperties": {
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
}
}
}px 2
px 16
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>disable</Nullable>
<AssemblyName>a_cs_equiv</AssemblyName>
<WarningLevel>0</WarningLevel>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
</PropertyGroup>
<ItemGroup>
<Compile Include="output_emitted.cs" />
</ItemGroup>
</Project>
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("a_cs_equiv")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+73ba11db56be006bccd0e336c10b98e84afb8a8a")]
[assembly: System.Reflection.AssemblyProductAttribute("a_cs_equiv")]
[assembly: System.Reflection.AssemblyTitleAttribute("a_cs_equiv")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class.
781bcb8eb7f6067e092418577e860799fe5cda0e2c63b7711dbb724cd1e01e1a
is_global = true
build_property.TargetFramework = net8.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = koru
build_property.ProjectDir = /Users/larsde/src/koru/tests/regression/600_STDLIB/690_STORE/690_243_sweep_body_reaches_enclosing_tor_input/
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.EffectiveAnalysisLevelStyle = 8.0
build_property.EnableCodeStyleSeverity =
5be0995b741828a5c320155d1f80abdffa79d05541ea191d12e3a61e37fca459
/Users/larsde/src/koru/tests/regression/600_STDLIB/690_STORE/690_243_sweep_body_reaches_enclosing_tor_input/obj/Debug/net8.0/koru.GeneratedMSBuildEditorConfig.editorconfig
/Users/larsde/src/koru/tests/regression/600_STDLIB/690_STORE/690_243_sweep_body_reaches_enclosing_tor_input/obj/Debug/net8.0/koru.AssemblyInfoInputs.cache
/Users/larsde/src/koru/tests/regression/600_STDLIB/690_STORE/690_243_sweep_body_reaches_enclosing_tor_input/obj/Debug/net8.0/koru.AssemblyInfo.cs
/Users/larsde/src/koru/tests/regression/600_STDLIB/690_STORE/690_243_sweep_body_reaches_enclosing_tor_input/obj/Debug/net8.0/koru.csproj.CoreCompileInputs.cache
/Users/larsde/src/koru/tests/regression/600_STDLIB/690_STORE/690_243_sweep_body_reaches_enclosing_tor_input/obj/Debug/net8.0/koru.sourcelink.json
/Users/larsde/src/koru/tests/regression/600_STDLIB/690_STORE/690_243_sweep_body_reaches_enclosing_tor_input/a_cs_equiv
/Users/larsde/src/koru/tests/regression/600_STDLIB/690_STORE/690_243_sweep_body_reaches_enclosing_tor_input/obj/Debug/net8.0/a_cs_equiv.dll
/Users/larsde/src/koru/tests/regression/600_STDLIB/690_STORE/690_243_sweep_body_reaches_enclosing_tor_input/obj/Debug/net8.0/refint/a_cs_equiv.dll
/Users/larsde/src/koru/tests/regression/600_STDLIB/690_STORE/690_243_sweep_body_reaches_enclosing_tor_input/obj/Debug/net8.0/a_cs_equiv.pdb
/Users/larsde/src/koru/tests/regression/600_STDLIB/690_STORE/690_243_sweep_body_reaches_enclosing_tor_input/a_cs_equiv.deps.json
/Users/larsde/src/koru/tests/regression/600_STDLIB/690_STORE/690_243_sweep_body_reaches_enclosing_tor_input/obj/Debug/net8.0/koru.genruntimeconfig.cache
/Users/larsde/src/koru/tests/regression/600_STDLIB/690_STORE/690_243_sweep_body_reaches_enclosing_tor_input/a_cs_equiv.runtimeconfig.json
/Users/larsde/src/koru/tests/regression/600_STDLIB/690_STORE/690_243_sweep_body_reaches_enclosing_tor_input/a_cs_equiv.dll
/Users/larsde/src/koru/tests/regression/600_STDLIB/690_STORE/690_243_sweep_body_reaches_enclosing_tor_input/obj/Debug/net8.0/ref/a_cs_equiv.dll
/Users/larsde/src/koru/tests/regression/600_STDLIB/690_STORE/690_243_sweep_body_reaches_enclosing_tor_input/a_cs_equiv.pdb
c446635050780b5d6a5b0d65ee9e503472c26bff63dc2fd310a1e078137a13c4
{"documents":{"/Users/larsde/src/koru/*":"https://raw.githubusercontent.com/korulang/koru/73ba11db56be006bccd0e336c10b98e84afb8a8a/*"}}{
"format": 1,
"restore": {
"/Users/larsde/src/koru/tests/regression/600_STDLIB/690_STORE/690_243_sweep_body_reaches_enclosing_tor_input/koru.csproj": {}
},
"projects": {
"/Users/larsde/src/koru/tests/regression/600_STDLIB/690_STORE/690_243_sweep_body_reaches_enclosing_tor_input/koru.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/Users/larsde/src/koru/tests/regression/600_STDLIB/690_STORE/690_243_sweep_body_reaches_enclosing_tor_input/koru.csproj",
"projectName": "a_cs_equiv",
"projectPath": "/Users/larsde/src/koru/tests/regression/600_STDLIB/690_STORE/690_243_sweep_body_reaches_enclosing_tor_input/koru.csproj",
"packagesPath": "/Users/larsde/.nuget/packages/",
"outputPath": "/Users/larsde/src/koru/tests/regression/600_STDLIB/690_STORE/690_243_sweep_body_reaches_enclosing_tor_input/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/Users/larsde/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"net8.0"
],
"sources": {
"/opt/homebrew/Cellar/dotnet/9.0.0/libexec/library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "all"
},
"SdkAnalysisLevel": "9.0.100"
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"downloadDependencies": [
{
"name": "Microsoft.AspNetCore.App.Ref",
"version": "[8.0.11, 8.0.11]"
},
{
"name": "Microsoft.NETCore.App.Host.osx-arm64",
"version": "[8.0.11, 8.0.11]"
},
{
"name": "Microsoft.NETCore.App.Ref",
"version": "[8.0.11, 8.0.11]"
}
],
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/opt/homebrew/Cellar/dotnet/9.0.0/libexec/sdk/9.0.100/PortableRuntimeIdentifierGraph.json"
}
}
}
}
}<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/Users/larsde/.nuget/packages/</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/Users/larsde/.nuget/packages/</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="/Users/larsde/.nuget/packages/" />
</ItemGroup>
</Project><?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />{
"version": 3,
"targets": {
"net8.0": {}
},
"libraries": {},
"projectFileDependencyGroups": {
"net8.0": []
},
"packageFolders": {
"/Users/larsde/.nuget/packages/": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/Users/larsde/src/koru/tests/regression/600_STDLIB/690_STORE/690_243_sweep_body_reaches_enclosing_tor_input/koru.csproj",
"projectName": "a_cs_equiv",
"projectPath": "/Users/larsde/src/koru/tests/regression/600_STDLIB/690_STORE/690_243_sweep_body_reaches_enclosing_tor_input/koru.csproj",
"packagesPath": "/Users/larsde/.nuget/packages/",
"outputPath": "/Users/larsde/src/koru/tests/regression/600_STDLIB/690_STORE/690_243_sweep_body_reaches_enclosing_tor_input/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/Users/larsde/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"net8.0"
],
"sources": {
"/opt/homebrew/Cellar/dotnet/9.0.0/libexec/library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "all"
},
"SdkAnalysisLevel": "9.0.100"
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"downloadDependencies": [
{
"name": "Microsoft.AspNetCore.App.Ref",
"version": "[8.0.11, 8.0.11]"
},
{
"name": "Microsoft.NETCore.App.Host.osx-arm64",
"version": "[8.0.11, 8.0.11]"
},
{
"name": "Microsoft.NETCore.App.Ref",
"version": "[8.0.11, 8.0.11]"
}
],
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/opt/homebrew/Cellar/dotnet/9.0.0/libexec/sdk/9.0.100/PortableRuntimeIdentifierGraph.json"
}
}
}
}{
"version": 2,
"dgSpecHash": "u407kIgxS50=",
"success": true,
"projectFilePath": "/Users/larsde/src/koru/tests/regression/600_STDLIB/690_STORE/690_243_sweep_body_reaches_enclosing_tor_input/koru.csproj",
"expectedPackageFiles": [
"/Users/larsde/.nuget/packages/microsoft.netcore.app.ref/8.0.11/microsoft.netcore.app.ref.8.0.11.nupkg.sha512",
"/Users/larsde/.nuget/packages/microsoft.aspnetcore.app.ref/8.0.11/microsoft.aspnetcore.app.ref.8.0.11.nupkg.sha512",
"/Users/larsde/.nuget/packages/microsoft.netcore.app.host.osx-arm64/8.0.11/microsoft.netcore.app.host.osx-arm64.8.0.11.nupkg.sha512"
],
"logs": []
}static class main_module {
public static void __koru_stdout_write(dynamic s) => global::System.Console.Out.Write(s);
public static void __koru_stderr_write(dynamic s) => global::System.Console.Error.Write(s);
// The mutable handle carrier — `*String`-style resources are
// `new __KoruBox { data = … }` because C# anonymous types are
// read-only: `s.data = …` (std/string append/clear, handle
// mutation generally) needs a settable member.
public class __KoruBox { public dynamic data; }
// Textification for `{{ … }}` operands: C# bool ToStrings as
// `True` where Koru prints `true`, and the operand's static type
// is unknown at this boundary — a `(x) is bool` inline test would
// be a compile error on statically-typed operands instead. Generic
// on purpose: `dynamic` boxed every value-type operand — measured
// ~1s/10M elements on 012_threat_scanner — while T specializes to
// the operand's own ToString() with no box.
public static string __koru_str<T>(T v) => v is bool b ? (b ? "true" : "false") : v?.ToString();
// std/store: plural store 'bodies' created (SoA cell + insert/query/write/take/stripe units); fields px: i64, vx: i64
static class __koru_store_bodies {
public static long[] px = new long[8];
public static long[] vx = new long[8];
public static long len = 0;
public static long __koru_brand = -1;
}
public static class integrate_event {
public struct Input {
public long dt;
}
public static dynamic handler(Input __koru_input) {
var dt = __koru_input.dt;
{
for (var __koru_si = 0; __koru_si < __koru_store_bodies.len; __koru_si++) {
main_module.__store_sweepbody_bodies_L37_690_243_sweep_body_reaches_enclosing_tor_input_input_52174b_event.handler(new main_module.__store_sweepbody_bodies_L37_690_243_sweep_body_reaches_enclosing_tor_input_input_52174b_event.Input { dt = dt, __koru_sdix_e_L37 = __koru_si });
}
}
return default;
}
}
public static class __store_insert_bodies_event {
public struct Input {
public long px;
public long vx;
public long __site_line;
}
public static dynamic handler(Input __koru_input) {
var px = __koru_input.px;
var vx = __koru_input.vx;
var __site_line = __koru_input.__site_line;
if (__koru_store_bodies.len >= 8) throw new global::System.Exception("std/store: store 'bodies' is full (capacity 8) - declared capacity and the `| full` branch are pinned at 690_011");
long __koru_new_row = __koru_store_bodies.len;
__koru_store_bodies.px[__koru_new_row] = px;
__koru_store_bodies.vx[__koru_new_row] = vx;
__koru_store_bodies.len += 1;
return default;
}
}
public static class __store_apply_bodies_event {
public struct Input {
public long row;
public long field;
public long value_0;
public long value_1;
}
public struct Output {
public string tag;
public long px;
public long vx;
}
public static Output handler(Input __koru_input) {
var row = __koru_input.row;
var field = __koru_input.field;
var value_0 = __koru_input.value_0;
var value_1 = __koru_input.value_1;
var __koru_r = row;
switch (field) {
case 0: { __koru_store_bodies.px[__koru_r] = value_0; return new Output { tag = "px", px = value_0 }; }
case 1: { __koru_store_bodies.vx[__koru_r] = value_1; return new Output { tag = "vx", vx = value_1 }; }
}
throw new global::System.Exception("__store_apply_bodies: field index " + field + " is not a column of store 'bodies'");
return default;
}
}
public static class __store_write_bodies_event {
public struct Input {
public long row;
public long field;
public long value_0;
public long value_1;
}
public static dynamic handler(Input __koru_input) {
var row = __koru_input.row;
var field = __koru_input.field;
var value_0 = __koru_input.value_0;
var value_1 = __koru_input.value_1;
var result_0 = main_module.__store_apply_bodies_event.handler(new __store_apply_bodies_event.Input { row = (long)(row), field = (long)(field), value_0 = (long)(value_0), value_1 = (long)(value_1)});
if (result_0.tag == "px") {
var _auto_6 = result_0.px;
}
if (result_0.tag == "vx") {
var _auto_7 = result_0.vx;
}
return default;
}
}
public static class __store_sweepbody_bodies_L37_690_243_sweep_body_reaches_enclosing_tor_input_input_52174b_event {
public struct Input {
public long dt;
public long __koru_sdix_e_L37;
}
public static dynamic handler(Input __koru_input) {
var dt = __koru_input.dt;
var __koru_sdix_e_L37 = __koru_input.__koru_sdix_e_L37;
main_module.__store_write_bodies_event.handler(new __store_write_bodies_event.Input { row = (long)(__koru_sdix_e_L37), field = (long)(0), value_0 = (long)(__koru_store_bodies.px[__koru_sdix_e_L37] + __koru_store_bodies.vx[__koru_sdix_e_L37] * dt), value_1 = (long)(0)});
return default;
}
}
public static class __store_sweepbody_bodies_L42_690_243_sweep_body_reaches_enclosing_tor_input_input_52174b_event {
public struct Input {
public long __koru_srf_e_L42_px;
public long __koru_sdix_e_L42;
}
public static dynamic handler(Input __koru_input) {
var __koru_srf_e_L42_px = __koru_input.__koru_srf_e_L42_px;
var __koru_sdix_e_L42 = __koru_input.__koru_sdix_e_L42;
__koru_stdout_write("px " + __koru_str(__koru_srf_e_L42_px) + "\n");
return default;
}
}
public static class __store_sweeprun_bodies_L42_690_243_sweep_body_reaches_enclosing_tor_input_input_52174b_event {
public struct Input {
}
public static dynamic handler(Input __koru_input) {
{
for (var __koru_si = 0; __koru_si < __koru_store_bodies.len; __koru_si++) {
var __koru_srf_e_L42_px = __koru_store_bodies.px[__koru_si];
main_module.__store_sweepbody_bodies_L42_690_243_sweep_body_reaches_enclosing_tor_input_input_52174b_event.handler(new main_module.__store_sweepbody_bodies_L42_690_243_sweep_body_reaches_enclosing_tor_input_input_52174b_event.Input { __koru_srf_e_L42_px = __koru_srf_e_L42_px, __koru_sdix_e_L42 = __koru_si });
}
}
return default;
}
}
public static class std_io_print_ln_event {
public struct Input {
public dynamic expr;
public dynamic invocation;
public dynamic item;
public dynamic program;
public dynamic reporter;
public dynamic allocator;
}
public static dynamic handler(Input __koru_input) {
var expr = __koru_input.expr;
var invocation = __koru_input.invocation;
var item = __koru_input.item;
var program = __koru_input.program;
var reporter = __koru_input.reporter;
var allocator = __koru_input.allocator;
throw new global::System.Exception("ln: [transform] tor is lowered at compile time and must never be called");
}
}
public static void flow0() {
{
var __koru_p_px = (long)(0);
var __koru_p_vx = (long)(1);
var __koru_p___site_line = (long)(32);
if (__koru_store_bodies.len >= 8) throw new global::System.Exception("std/store: store 'bodies' is full (capacity 8) - declared capacity and the `| full` branch are pinned at 690_011");
long __koru_new_row = __koru_store_bodies.len;
__koru_store_bodies.px[__koru_new_row] = __koru_p_px;
__koru_store_bodies.vx[__koru_new_row] = __koru_p_vx;
__koru_store_bodies.len += 1;
}
}
public static void flow1() {
{
var __koru_p_px = (long)(10);
var __koru_p_vx = (long)(3);
var __koru_p___site_line = (long)(33);
if (__koru_store_bodies.len >= 8) throw new global::System.Exception("std/store: store 'bodies' is full (capacity 8) - declared capacity and the `| full` branch are pinned at 690_011");
long __koru_new_row = __koru_store_bodies.len;
__koru_store_bodies.px[__koru_new_row] = __koru_p_px;
__koru_store_bodies.vx[__koru_new_row] = __koru_p_vx;
__koru_store_bodies.len += 1;
}
}
public static void flow2() {
{
var __koru_p_dt = (long)(2);
{
for (var __koru_si = 0; __koru_si < __koru_store_bodies.len; __koru_si++) {
main_module.__store_sweepbody_bodies_L37_690_243_sweep_body_reaches_enclosing_tor_input_input_52174b_event.handler(new main_module.__store_sweepbody_bodies_L37_690_243_sweep_body_reaches_enclosing_tor_input_input_52174b_event.Input { dt = __koru_p_dt, __koru_sdix_e_L37 = __koru_si });
}
}
}
}
public static void flow3() {
{
{
for (var __koru_si = 0; __koru_si < __koru_store_bodies.len; __koru_si++) {
var __koru_srf_e_L42_px = __koru_store_bodies.px[__koru_si];
main_module.__store_sweepbody_bodies_L42_690_243_sweep_body_reaches_enclosing_tor_input_input_52174b_event.handler(new main_module.__store_sweepbody_bodies_L42_690_243_sweep_body_reaches_enclosing_tor_input_input_52174b_event.Input { __koru_srf_e_L42_px = __koru_srf_e_L42_px, __koru_sdix_e_L42 = __koru_si });
}
}
}
}
}
static class Program {
static void Main() {
main_module.flow0();
main_module.flow1();
main_module.flow2();
main_module.flow3();
}
}
Actual
px 2
px 16
Expected output
✓ Zig✓ C#px 2
px 16
Flows
flow ~new click a branch to expand · @labels scroll to their anchor
new (bodies, capacity: 8, source: px: 0[i64], vx: 0[i64])
flow ~insert click a branch to expand · @labels scroll to their anchor
insert (bodies, source: px: 0, vx: 1)
flow ~insert click a branch to expand · @labels scroll to their anchor
insert (bodies, source: px: 10, vx: 3)
subflow ~integrate click a branch to expand · @labels scroll to their anchor
query (bodies)
flow ~integrate click a branch to expand · @labels scroll to their anchor
integrate (dt: 2)
flow ~query click a branch to expand · @labels scroll to their anchor
query (bodies)
Test Configuration
MUST_RUN LANGUAGES: zig cs