Skip to content

fix: resolve all compiler warnings#2

Merged
NoEgAm merged 2 commits into
Respo:mainfrom
moonbit-pilot:fix-compiler-warnings-20250818-063034
Sep 1, 2025
Merged

fix: resolve all compiler warnings#2
NoEgAm merged 2 commits into
Respo:mainfrom
moonbit-pilot:fix-compiler-warnings-20250818-063034

Conversation

@rami3l
Copy link
Copy Markdown

@rami3l rami3l commented Aug 18, 2025

Note

This PR was made by an LLM agent.

Fixed the following compiler warnings:

  • Replaced deprecated fnalias x as y syntax with let y = x for non-function aliases
  • Replaced deprecated .or() method calls with .unwrap_or() method calls
  • Removed unused functions: JsValue::get_prop and JsValue::reinterpret_as_int
  • Removed unused trait implementations: Show and Eq derives for Block and LineChunk enums
  • Removed unused Show implementation for Store struct
  • Removed unused text_node import from fnalias
  • Fixed pattern matching for Block::Empty case

All warnings have been resolved and the project now compiles cleanly with --target js.

moonagent added 2 commits August 18, 2025 06:22
Fixed the following compiler warnings:
- Replaced deprecated `fnalias x as y` syntax with `let y = x` for non-function aliases
- Replaced deprecated `.or()` method calls with `.unwrap_or()` method calls
- Removed unused functions: `JsValue::get_prop` and `JsValue::reinterpret_as_int`
- Removed unused trait implementations: `Show` and `Eq` derives for Block and LineChunk enums
- Removed unused `Show` implementation for Store struct
- Removed unused `text_node` import from fnalias
- Fixed pattern matching for Block::Empty case

All warnings have been resolved and the project now compiles cleanly with --target js.
@NoEgAm NoEgAm merged commit b0482c5 into Respo:main Sep 1, 2025
1 check failed
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