-
-
Notifications
You must be signed in to change notification settings - Fork 4
Param bug fix #204
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
Param bug fix #204
Conversation
WalkthroughThe changes enhance the parsing of generic types in function parameters within the parser, improving token handling and error messaging. Additionally, the signedness flag for constant integer creation in LLVM IR generation is corrected. Minor formatting and error message updates are also included, with no changes to public interfaces. Changes
Sequence Diagram(s)sequenceDiagram
participant Parser
participant TokenStream
Parser->>TokenStream: Consume ':'
alt Next token is identifier and '<'
Parser->>TokenStream: Parse base type
Parser->>TokenStream: Parse generic inner tokens (handle nested '<', '>')
Parser->>Parser: Build full generic type string
Parser->>Parser: Convert to TokenType and WaveType
else Next token is identifier
Parser->>Parser: Convert identifier to TokenType and WaveType
else Other token
Parser->>Parser: Attempt conversion or report error
end
Possibly related PRs
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🧰 Additional context used🧠 Learnings (1)📓 Common learnings🔇 Additional comments (3)
✨ Finishing Touches
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Added to parameters to support ptr, array.
Summary by CodeRabbit
Bug Fixes
Style