some final cleanups
All checks were successful
/ test (push) Successful in 5m43s

This commit is contained in:
Jacob Lifshay 2024-09-19 23:52:32 -07:00
parent 2d293ae87b
commit a8c804ef4a
Signed by: programmerjake
SSH key fingerprint: SHA256:B1iRVvUJkvd7upMIiMqn6OyxvD2SgJkAH3ZnUOj6z+c
3 changed files with 1 additions and 3 deletions

View file

@ -6,4 +6,4 @@
//! `#[hdl] match` statements' bodies must evaluate to type `()` for now. //! `#[hdl] match` statements' bodies must evaluate to type `()` for now.
//! //!
//! `#[hdl] match` statements can only match one level of struct/enum pattern for now, //! `#[hdl] match` statements can only match one level of struct/enum pattern for now,
//! e.g. you can match with the pattern `Some(v)`, but not `Some(Some(_))`. //! e.g. you can match with the pattern `HdlSome(v)`, but not `HdlSome(HdlSome(_))`.

View file

@ -115,7 +115,6 @@ fn connect_port(
rhs: Expr<CanonicalType>, rhs: Expr<CanonicalType>,
source_location: SourceLocation, source_location: SourceLocation,
) { ) {
println!("connect_port:\nlhs={lhs:?}\nrhs={rhs:?}");
if Expr::ty(lhs) == Expr::ty(rhs) { if Expr::ty(lhs) == Expr::ty(rhs) {
stmts.push( stmts.push(
dbg!(StmtConnect { dbg!(StmtConnect {

View file

@ -10,7 +10,6 @@ pub struct S<T, Len: Size, T2> {
pub d: T2, pub d: T2,
} }
//#[cfg(todo)]
#[hdl(outline_generated)] #[hdl(outline_generated)]
pub struct S3<const LEN: usize, T> { pub struct S3<const LEN: usize, T> {
pub a: T, pub a: T,