Skip to content
Commit c4ec40a9 authored by Sven Brauch's avatar Sven Brauch
Browse files

support for the most basic cases of python 3.10's match syntax

Supported are, with basic type inference:
match "1 2 3".split():
  case [a, b]: ... # a, b are of type "str"
  case [a, b, c] as w: ... # w is of type "list of str"

(Other cases are parsed without complaint but have no type inference
or other special support. Variable declarations might be missing in some
cases.)
parent 4217a48c
Pipeline #273482 canceled with stage
in 1 minute and 54 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment