Project

General

Profile

Actions

Bug #36912

closed

can't parse multi-line type definitions

Added by Evgeni Golov over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

For Puppet, it's totally fine to have a type definition like

type Stdlib::IP::Address = Variant[
  Stdlib::IP::Address::V4,
  Stdlib::IP::Address::V6,
]

This is equivalent to
type Stdlib::IP::Address = Variant[Stdlib::IP::Address::V4,Stdlib::IP::Address::V6]

but obviously better readable for humans.

Kafo, today, will only parse this as type Stdlib::IP::Address = Variant[, and this is obviously not a correct type definition


Related issues 1 (0 open1 closed)

Has duplicate Kafo - Bug #21398: Struct handling brokenClosedActions
Actions

Also available in: Atom PDF