Commit a1f7876
Fix C# 9.0 Compilation Errors (#548)
* auto-claude: subtask-1-1 - Convert record struct to struct
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>
* auto-claude: subtask-1-2 - Wrap TestRunnerCallbacks.cs in #if UNITY_INCLUDE_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>
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 128f054 commit a1f7876
4 files changed
Lines changed: 26 additions & 4 deletions
File tree
- UnityProject/Packages
- com.jasonxudeveloper.jengine.core/Editor/Misc
- com.jasonxudeveloper.jengine.util/Runtime
- Internal
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| 77 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
Lines changed: 22 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
26 | 36 | | |
27 | 37 | | |
28 | 38 | | |
| |||
39 | 49 | | |
40 | 50 | | |
41 | 51 | | |
42 | | - | |
| 52 | + | |
43 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
44 | 64 | | |
45 | 65 | | |
46 | 66 | | |
| |||
0 commit comments