Skip to content

Conversation

@JasonXuDeveloper
Copy link
Owner

Fix 11 compilation errors caused by C# 10.0 features (record structs) and missing Unity Test Framework references. The project is configured for C# 9.0 but uses C# 10.0+ record struct syntax in 4 locations. Additionally, the TestRunnerCallbacks.cs references Unity Test Framework types that may not be available.

JasonXuDeveloper and others added 2 commits January 22, 2026 15:26
Convert record struct declarations to regular struct declarations to fix
CS8773 compilation errors. Record struct is a C# 10 feature that may not
be available in the target C# version.

Changes:
- JActionTask.cs: internal record struct -> internal struct
- JActionRunner.cs: private record struct JActionUpdate -> private struct
- JActionAwaitable.cs: public readonly record struct -> public readonly struct
  with explicit fields and constructors for JActionAwaitable and JActionAwaiter

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…NCLUDE_TESTS

Wrapped entire TestRunnerCallbacks.cs file in conditional compilation
directive to fix CS0234/CS0246 errors when Unity Test Framework is not
included in the project.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@JasonXuDeveloper JasonXuDeveloper merged commit a1f7876 into master Jan 22, 2026
5 checks passed
@JasonXuDeveloper JasonXuDeveloper deleted the auto-claude/001-packages-com-jasonxudeveloper-jengine-util-runtime branch January 22, 2026 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants