Rajveer Singh Bharadwaj

Results 11 comments of Rajveer Singh Bharadwaj

Hello, I would like to contribute to your project..since I have already made a C++(my custom made) Order Statistic tree...with fast times..so can also add interval trees..to it..for Python.. You...

I can work on the issue.. I have so many templates..you can check in my GitHub..C++ -> Python I will do the implementation and conversion..

Hello @czgdp1807, I have completed the implementation of Segment Tree with rangeQuery, rangeUpdate, pointUpdate, and all operations in O(log(n)) time...Here is my code... Many more things like min, max, gcd,...

Could you please checkout the above message so that I can make the changes if required...Thank you...

Yes I have already done the PR(483)..Thank you so much for your reply..

@ahoppen It would be great if you could further describe a little about `swift-syntax` and this issue as well? If I remember correctly, `macros` were introduced this year (WWDC 2023)...

@ahoppen I am facing an issue with the following command: ```Shell > swift run --package-path CodeGeneration ``` Error: ```Shell Fetching https://github.com/apple/swift-argument-parser.git Fetched https://github.com/apple/swift-argument-parser.git (2.24s) Computing version for https://github.com/apple/swift-argument-parser.git Computed https://github.com/apple/swift-argument-parser.git...

If I understand correctly, we need to add a check inside the `MemberMacro` expansion to emit a diagnostic whenever we attach a `member macro` to a variable. As an example...

In `MacroExpansion`, I see the `case` for `MemberMacro` in `expandAttachedMacroWithoutCollapsing` which is called via `MacroSystem` during expansion. So to check for declaration, do we guard `declarationNode` and throw `MacroExpansionError` in...

Is the following snippet the right way to do the check, as at the moment many other tests also fail due to this addition: ```Swift guard declGroup.syntaxNodeType == VariableDeclSyntax.self else...