Skip to content

JsonStream.peek has incorrect return type #522

@dlkritter

Description

@dlkritter

Discovered when trying to add scientific notation support to JSON. JsonStream.peek returns either a character or None. Which leads to the broken string parsing when iterating over chars in JSON

FIX: Make JSON.parse return Maybe type

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions