table-column-count-monotonic

Table.columns is settled when the first content row closes and is never revised; a later wider row drops its surplus with CDN-0018 rather than growing the count

§16

Input

| A | B |
| C | D | E |

Diagnostics

- code: CDN-0018
  level: warning

Output AST

- type: Table
  rows:
    - type: Row
      children:
        - type: Cell
          children:
            - type: Text
              value: A
        - type: Cell
          children:
            - type: Text
              value: B
    - type: Row
      children:
        - type: Cell
          children:
            - type: Text
              value: C
        - type: Cell
          children:
            - type: Text
              value: D
  columns:
    - type: Column
      align: start
    - type: Column
      align: start

Streaming

unit: unicode-scalar
checkpoints:
  - at: 6
    ast:
      - type: Table
        columns:
          - type: Column
            align: start
    diagnostics: []
  - at: 9
    ast:
      - type: Table
        columns:
          - type: Column
            align: start
          - type: Column
            align: start
    diagnostics: []
  - at: 15
    ast:
      - type: Table
        columns:
          - type: Column
            align: start
          - type: Column
            align: start
    diagnostics: []
  - at: 22
    ast:
      - type: Table
        columns:
          - type: Column
            align: start
          - type: Column
            align: start
    diagnostics:
      - code: CDN-0018
        level: warning