Skip to content

Type Expected with generics #1013

@BitPuffin

Description

@BitPuffin
type TMatrix*[T; R, C: static[int]] = array[0..R-1, array[0..C-1, T]] 
proc `*`*[T; R, N, C: static[int]](a: TMatrix[T, R, N], b: TMatrix[T, N, C]): TMatrix[T, R, C] {.noSideEffect.} =

Error: type expected

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions