Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,22 @@ history.

## Unreleased

- `types/rtti/ts`: the runtime printer supports recursive schemas — it
converts through `fjs/types/rtti/data` (new `dataToTs`), so a recursive
schema prints as `type <name> = <expression>` definitions plus an entry
expression instead of overflowing the stack; output is the data form's
canonical form, a struct key admitting `undefined` prints optional
(mirroring `Ts<>`), and a rule name that cannot name a type alias (reserved
word — strict-mode ones included, predefined type name, non-identifier)
gets a generated identifier
[#1547](https://github.com/functionalscript/functionalscript/pull/1547).
- **BREAKING CHANGES:** `types/ts`: a `Printer.struct` field (`StructField`)
takes an optional third element marking the key optional (`"key"?: type`).
Callers and contextually-typed implementations are unaffected; an external
`Printer` implementation annotating the parameter as
`readonly (readonly [string, string])[]` must widen it to
`readonly StructField[]`
[#1547](https://github.com/functionalscript/functionalscript/pull/1547).
- `types/sorted_list`: the two merge tail policies are now named `keepTail` and
`dropTail` instead of sharing one shadowed name; internal only
[#1546](https://github.com/functionalscript/functionalscript/pull/1546)
Expand Down
221 changes: 0 additions & 221 deletions fjs/types/rtti/todo/662.md

This file was deleted.

Loading
Loading