]> gcc.gnu.org Git - gcc.git/commit
Support Typechecking of ADT's of enums
authorPhilip Herron <philip.herron@embecosm.com>
Sat, 30 Oct 2021 23:02:58 +0000 (00:02 +0100)
committerPhilip Herron <philip.herron@embecosm.com>
Tue, 2 Nov 2021 11:26:23 +0000 (11:26 +0000)
commite3defa10bc63ba3f81da00fc322b5b1e0d1717ed
tree9865d6531fa25b201170de5045167bb7c52e2b93
parent5e8043380b63ffe4fc6e7d01e6b58119aac26ebb
Support Typechecking of ADT's of enums

Enums are ADT's with multiple variants where as structs are ADT's with a
single variant, this changes the typechecking on construction of these to
support enums.

Addresses #79
gcc/rust/typecheck/rust-hir-type-check-expr.h
gcc/rust/typecheck/rust-hir-type-check-path.cc
gcc/rust/typecheck/rust-hir-type-check-struct-field.h
gcc/rust/typecheck/rust-hir-type-check-struct.cc
gcc/rust/typecheck/rust-hir-type-check.h
gcc/rust/typecheck/rust-tyty-call.h
gcc/rust/typecheck/rust-tyty.cc
gcc/rust/typecheck/rust-tyty.h
This page took 0.065465 seconds and 6 git commands to generate.