Closed CameronBieganek closed 3 years ago
using StaticArrays struct Point{Dim,T} coords::SVector{Dim,T} end Point((1,2)) # figures out that (Dim, T) = (2, Int) Point((1,2)) # figures out that (Dim, T)
The = is the issue here, not the closing parenthesis (because we think it's a short form function definition in that case...).
=