Formatter causes error "Unindent doesn't match the previous indentation level."
まだ誰も着手していません。
評価
調査の方向性
Reproduce the formatter output using the nested find_custom callback and indentation shown in the issue. Trace the formatter path that handles the callback and its closing parentheses, then add or update coverage for this case. Done means the formatted code matches the expected indentation and no unindent error occurs.
索引モデルが issue の本文から書いたものです。
説明
As title says, its formatting the below code as
var usedRoomSelectorIndex := availableRoomSelectors.find_custom(
(func(iter: RoomSelector, expect: RoomLayoutInfo) -> bool:
return iter.layoutInfo == expect
).bind(selectedRoom)
)
When it should be
var usedRoomSelectorIndex := availableRoomSelectors.find_custom(
(func(iter: RoomSelector, expect: RoomLayoutInfo) -> bool:
return iter.layoutInfo == expect
).bind(selectedRoom)
)
the top example is causing the error "Unindent doesn't match the previous indentation level."
- 主要言語
- Rust
- スター
- 464
- フォーク
- 39
- 平均マージ
- 1日 15時間
- マージ済み PR(30日)
- 4
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
GDQuest/GDScript-formatter のほかの issue
-
upstream
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
GDQuest/GDScript-formatter#363 · コメント 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 58/100
GDQuest/GDScript-formatter#360 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
GDQuest/GDScript-formatter#354 · コメント 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
GDQuest/GDScript-formatter#353 · コメント 3 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 63/100
GDQuest/GDScript-formatter#348 · コメント 3 件 · リアクション 1 件 ·
GDQuest/GDScript-formatter の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
trezor/trezor-firmware#7997 ·
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
oxidecomputer/management-gateway-service#506 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
scylladb/nodejs-rs-driver#566 ·
メンテナーはふだん 1 日以内に返信
-
A-ABI needs-triage relnotes relnotes-needs-review relnotes-tracking-issue T-lang T-libs T-opsem
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信