Skip to content

Add sized primitive literal syntax

Krzysztof Gogolewski requested to merge wip/sized-literals into master

This MR is an implementation of the sized primitive literals proposal https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0451-sized-literals.rst. It was based on and supersedes !8307 (closed).

I have moved the test SizedLiterals to extendedliterals03, it no longer needs to rely on optimizations and -fprefer-byte-code. I have also extended it with testcases found during review of 8307.

I will submit the new extension to Cabal once approved, per Note [Adding a language extension].

Merge request reports