Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(config): use solar for inline config parsing #9615

Merged
merged 12 commits into from
Jan 5, 2025

Conversation

yash-atreya
Copy link
Member

Motivation

Ref: #9317

Solution

Replace SolangParser with SolarParser

@yash-atreya yash-atreya self-assigned this Jan 2, 2025
@yash-atreya yash-atreya marked this pull request as ready for review January 2, 2025 11:59
@yash-atreya yash-atreya requested a review from DaniPopes January 3, 2025 11:12
crates/config/src/inline/natspec.rs Outdated Show resolved Hide resolved
contract: contract_id.to_string(),
function: None,
line,
docs,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

another thing is that line is documented and interpreted as {line}:{column}:{length}, but is in fact {byte_start}:{byte_end}:{source_id} in both parsers. This should be fixed in another PR

@yash-atreya yash-atreya enabled auto-merge (squash) January 5, 2025 16:04
@yash-atreya yash-atreya requested a review from DaniPopes January 5, 2025 16:04
@yash-atreya yash-atreya merged commit 2e9d849 into master Jan 5, 2025
22 checks passed
@yash-atreya yash-atreya deleted the yash/solar-inline-config-parser branch January 5, 2025 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Completed
Development

Successfully merging this pull request may close these issues.

2 participants