Add support for explicit type in meta examples

* This is needed to relate examples to node types for nodes that cannot
  stand alone. Example are :where nodes that do not have syntax outside
  a :case
This commit is contained in:
Markus Schirp 2016-03-19 15:13:05 +00:00
parent 9a85c9ab83
commit 7bf70d9634
66 changed files with 186 additions and 182 deletions

View file

@ -1,4 +1,4 @@
Mutant::Meta::Example.add do
Mutant::Meta::Example.add :blockarg do
source 'foo { |&bar| }'
singleton_mutations