pc2 / sus-compiler

A new Hardware Design Language that keeps you in the driver's seat
GNU General Public License v3.0
70 stars 4 forks source link

No error is emitted when templates have TOO many parameters #5

Closed VonTum closed 3 months ago

VonTum commented 3 months ago
BitSerialMatrixMultiplyState::<WIDTH, HEIGHT, MATRIX; int, int, int, int> bsm_state

Does not error on the excessive ints

VonTum commented 3 months ago

Fixed by switching to named template arguments in the switch to #() template notation.