issues
search
hash-org
/
hashc
The Hash programming language compiler :zap:
https://hash-org.github.io/hashc/
MIT License
26
stars
2
forks
source link
New constant declration syntax
#1062
Open
feds01
opened
7 months ago
feds01
commented
7 months ago
ast: remove
AccessKind
differentiator
parser: change access type and pattern syntax to use
.
over
::
semantics: adjust resolution to work without
AccessKind
stdlib: update sources to use
.
over
::
tests: use
.
over
::
syntax for accessors
ast: add
is_constant
flag to
Declaration
parser: support new
::
constant declaration syntax
tests: add case for constant declarations
tests: update failed cases for new constant declaration syntax
chore: fmt
AccessKind
differentiator.
over::
AccessKind
.
over::
.
over::
syntax for accessorsis_constant
flag toDeclaration
::
constant declaration syntax