This commit is contained in:
parent
2d293ae87b
commit
a8c804ef4a
|
@ -6,4 +6,4 @@
|
|||
//! `#[hdl] match` statements' bodies must evaluate to type `()` 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(_))`.
|
||||
|
|
|
@ -115,7 +115,6 @@ fn connect_port(
|
|||
rhs: Expr<CanonicalType>,
|
||||
source_location: SourceLocation,
|
||||
) {
|
||||
println!("connect_port:\nlhs={lhs:?}\nrhs={rhs:?}");
|
||||
if Expr::ty(lhs) == Expr::ty(rhs) {
|
||||
stmts.push(
|
||||
dbg!(StmtConnect {
|
||||
|
|
|
@ -10,7 +10,6 @@ pub struct S<T, Len: Size, T2> {
|
|||
pub d: T2,
|
||||
}
|
||||
|
||||
//#[cfg(todo)]
|
||||
#[hdl(outline_generated)]
|
||||
pub struct S3<const LEN: usize, T> {
|
||||
pub a: T,
|
||||
|
|
Loading…
Reference in a new issue