]> gcc.gnu.org Git - gcc.git/commit
Default type checking on CallExpr's to TyTy::ErrorType
authorPhilip Herron <philip.herron@embecosm.com>
Tue, 2 Nov 2021 11:48:06 +0000 (11:48 +0000)
committerPhilip Herron <philip.herron@embecosm.com>
Tue, 2 Nov 2021 11:48:06 +0000 (11:48 +0000)
commitfc5f8d746362a42adc52e538dec248bd2992a794
treec49825727c7726769f7226e3ed8b3697192cb7d3
parente3defa10bc63ba3f81da00fc322b5b1e0d1717ed
Default type checking on CallExpr's to TyTy::ErrorType

It is ok for type checking to error/fail on a construct within the crate,
we can try our best to continue on to find as many errors as possible. To
achieve this without running into nullptr's we can use the ErrorType node
to signify an error. This also cleans up alot of noise in our error
handling.
gcc/rust/typecheck/rust-tyty-call.h
gcc/testsuite/rust/compile/func2.rs
gcc/testsuite/rust/compile/func3.rs
gcc/testsuite/rust/compile/tuple_struct1.rs
gcc/testsuite/rust/compile/tuple_struct2.rs
gcc/testsuite/rust/compile/tuple_struct3.rs
This page took 0.061679 seconds and 6 git commands to generate.