Remove Ast.PVar.
authorRichard W.M. Jones <rjones@redhat.com>
Sat, 28 Dec 2019 08:52:35 +0000 (08:52 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Sat, 28 Dec 2019 08:52:35 +0000 (08:52 +0000)
Pure variables as patterns are disallowed.  Patterns have a distinct
type from expressions so allowing an expression to be substituted
causes complications.  In particular we want to know statically how
many targets a goal has, which is not possible if a variable can be
substituted here.

You can still write:

  "%name": ...


No differences found