Skip to content

feat(rust): Observables, Events and IEnumerable (PR 6 of 7 Rust improvements)#4789

Open
Thorium wants to merge 6 commits into
fable-compiler:mainfrom
Thorium:pr/7b-rust-observables-events
Open

feat(rust): Observables, Events and IEnumerable (PR 6 of 7 Rust improvements)#4789
Thorium wants to merge 6 commits into
fable-compiler:mainfrom
Thorium:pr/7b-rust-observables-events

Conversation

@Thorium

@Thorium Thorium commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Adds IEnumerable, Events and Observable to Rust.
So continues adding missing .NET features to Rust target.
Part of the dependency chain.

@Thorium
Thorium force-pushed the pr/7b-rust-observables-events branch 4 times, most recently from ec1634b to 5d8f11b Compare July 14, 2026 23:50
Thorium and others added 3 commits July 15, 2026 21:58
…4781)

=== changelog ===

- Cast `bool` to integer types; support `**` via `.powf`
- Add `Decimal.IsInteger/IsEvenInteger/IsOddInteger/IsCanonical`
- Fix two-switch decision trees dispatching to the wrong target
- Fix reference-typed match bindings panicking via `mem::zeroed`
- Fix string and non-ident option pattern matches emitting invalid Rust `match` arms
- Fix `Convert.ToXxx(bool)`
- Fix `Char.ToUpper/ToLower` truncating multi-char case mappings
- Fix `Random.nextDouble` panic message
- Fix `Map.find/tryFind` panicking on reference-typed values

=== changelog ===

Co-authored-by: Mangel Maxime <me@mangelmaxime.fr>
@Thorium
Thorium force-pushed the pr/7b-rust-observables-events branch from 5d8f11b to 4bfa396 Compare July 15, 2026 21:58
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