error:

ERROR: LoadError: syntax: function static parameter names not unique

I’ve been reading some of the posts about parametric types and inner constructors but I can’t quite seem to get what I’m trying to do to work.

Thanks,

```
type Point{T<:Real}
x :: T
y :: T
z :: T
end
function convert{T<:Float64}(::Type{Point{T}}, xyz::Tuple{Float64,Float64,Float64})
Point(xyz[1], xyz[2], xyz[3])
end
type Plate{T<:Real}
p0 :: Point{T}
p1 :: Point{T}
function Plate{T<:Real}(p0::Point{T}, p1::Point{T})
if ((p0.x == p1.x) || (p0.y == p1.y) || (p0.z == p1.z))
new(p0, p1)
else
error("Plate definition must have 0 thickness in one dimension")
end
end
end
p1 = Plate(Point(3.0,4.0,5.0), Point(3.0, 7.0, 6.0))
```