refactor: improve repr of account interp#134
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
WalkthroughAccount interpolation literals are refactored to capture colon separators as explicit text parts during parsing, then concatenate all parts without delimiters in both the AST string representation and runtime evaluation. ChangesAccount interpolation literal refactor
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 golangci-lint (2.12.2)level=error msg="[linters_context] typechecking error: pattern ./...: directory prefix . does not contain main module or its selected dependencies" Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #134 +/- ##
==========================================
+ Coverage 68.50% 68.56% +0.06%
==========================================
Files 46 46
Lines 4648 5590 +942
==========================================
+ Hits 3184 3833 +649
- Misses 1290 1584 +294
+ Partials 174 173 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Improve the representation of interpolated accounts, e.g.
@user:$id:pending, so that we also keep the ":" parts in the AST.This doesn't change the existing behaviour, nor the way it interacts with LSP (e.g. mouse hovering). But it keeps a more correct and lossless AST