raghav-deepsource

Results 22 comments of raghav-deepsource

that could be handled using `Iterator::collect`. the only difference being that it would be possible to get a collection with 0 elements if there are no stored matches in the...

you could implement drop on the iterator in such a way that it also "finishes" the associated scratch struct...

maybe the extensions are using different versions of tree-sitter-java?

This doesn't appear to happen in the version used in the playground for this input: ```java program [0, 0] - [3, 0] expression_statement [0, 0] - [1, 22] binary_expression [0,...

it seems like this repo is not very actively looked after at the moment.

@maxbrunsfeld , this is stuck on ci like the others...

@MartinWitt that is definitely the way to go. At DeepSource, for example, we make sure to keep master protected, and any PR needs approval from at least one code owner...

oops, yes. that's what I meant. sorry for the misunderstanding. I've edited the original comment to add the `.getClass()` call.

True, that would work, and make the "concept" system more explicit as well. If the annotation were applied everywhere, it could bloat the size of the change though, would it...

yeah... I was thinking about that as well. my idea was to just instantiate anonymous classes for each of them, at which point I wondered about how to get metamodel...