John Backus
John Backus
Similar issue for reference: https://github.com/mbj/mutant/issues/121
Ah alright that made sense. How did you eliminate your `module_function` usage specifically? Did you switch to something like `extend self` or did you just not need `module_function` in the...
I think starting a guide is a good idea. How about calling this a "Mutation Guide" instead of a style guide since mutations shouldn't only have a style component to...
I'll have to fiddle with whether this can work, but this project already has pretty good yard docs. We could use the [Custom YARD Tag](http://www.rubydoc.info/gems/yard/file/docs/Tags.md#Adding_Custom_Tags) feature to add a `@mutation...
Cool so it is pretty easy to attach a custom yard doc and then extract that information: ```diff diff --git c/lib/mutant/mutator/node/send.rb i/lib/mutant/mutator/node/send.rb index 5d04719..4f4698d 100644 --- c/lib/mutant/mutator/node/send.rb +++ i/lib/mutant/mutator/node/send.rb @@...
For ruby 2.3 this mutation (for strings) could be [`String#-@`](https://github.com/ruby/ruby/blob/v2_3_0_preview2/NEWS#L133) which will return a frozen string
> I do not like this upstream API. Its now even harder to differentiate between number and string aritmetic. Yeah I agree.
> [^foo] is the strict inverse of [foo] so there is no overlapping input that satisfies both, as this is a "total" reduction for the original input, I consider it...
Looks like I typo'd the issue number in the commits related to this. Just for the sake of keeping github issues and commits linked: - commit: https://github.com/backus/mutant/commit/2f53ef0d01b0e86ecc0c634344711ad24265aa38 - PR: https://github.com/mbj/mutant/pull/430...
I think you're right here. Might not make sense to make this a mutation. One possible case might be if a test is asserting that the output array is a...