forked from libre-chip/fayalite
		
	some final cleanups
This commit is contained in:
		
							parent
							
								
									2d293ae87b
								
							
						
					
					
						commit
						a8c804ef4a
					
				
					 3 changed files with 1 additions and 3 deletions
				
			
		|  | @ -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(_))`.
 | ||||||
|  |  | ||||||
|  | @ -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 { | ||||||
|  |  | ||||||
|  | @ -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, | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue