Is case var(var x, var y) a valid syntax ?

Remi Forax forax at univ-mlv.fr
Mon Sep 7 08:23:43 UTC 2020


Just a question,
do we agree that the syntax below is valid ?

  Point point = ...
  switch(point) {
    case var(var x, var y): ...
  }

i.e. that var can be written everywhere there is a type in a Pattern.

Rémi


More information about the amber-spec-experts mailing list