Comments (3)
Hi, I'm not quite sure, never worked with records.
If you can add an small example to recreate then I may be able to help.
from fastscriptreload.
Well, related is an issue with records indeed, does not seem to add a patch id on the class name. Init syntax can be replaced with this syntax btw.
Could it work with records in the end or should we take into account it won't in the shortcoming ? We started to move things into records because of the added sugar on copy ctors/parameter delcaration/init etc
public record AttackScorePosition(IReadOnlyList<AttackRangeResults> Results, Optional<PathResult> OptPath, int Score) : IScore<CharacterPosition, int>, IHasSkillResult
{
/// <summary>
/// Attack score without result
/// </summary>
public AttackScorePosition__Patched_() : this(new List<AttackRangeResults>(),Optional<PathResult>.Empty() , 0)
{
}
from fastscriptreload.
Also, it seems that it is not an issue with records themselves but with those using the shortcut syntax, like the one above.
from fastscriptreload.
Related Issues (20)
- Does this work at runtime or not? Its very not clear. HOT 1
- Incorrect rewrite for switch assignment (using new language features)
- Added fields not working with Unity editors drawn without IMGUI (ie 2022.3) HOT 1
- Multiple precompiled assemblies with the same name System.Threading.Tasks.Extensions.dll HOT 1
- Static fields in changed code are lost upon reload HOT 1
- Error for "DrawOdinInspector" HOT 3
- Fix record short syntax rewriting issue HOT 4
- File Watcher allocates 100 KB per frame -> lag spikes on GC HOT 1
- Try to fix rewrite for self file extension method HOT 3
- FileWatcherImplementation does not contain a definition for DirectWindowsApi HOT 3
- Exception when immersive debugging is enabled HOT 1
- Seems haven't supported Unity 2023??? HOT 2
- New Private field issues
- Issue with the Rewired package and FSR 1.6 HOT 2
- Fast Script Reload (via Live Script Reload v.1.7 on Asset Store) HOT 1
- Is it possible to support old version unity3D? Such as Unity 2017? HOT 3
- InvalidOperationException: Sequence contains no matching element HOT 1
- Classes defined inline within other classes will cause exception on reloading
- Duplicate assembly 'System.Collections.Immutable.FSR.dll' with different versions detected HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastscriptreload.