one more crash due to typing error, no generics involved, low priority
StefanSalewski opened this issue · 1 comments
StefanSalewski commented
const none = 0
type
DelaunayTriangulation = object
i: int
error: int
PointList = seq[int]
Vertex = object
p: float
proc removeWorkingPoints*(this: var DelaunayTriangulation; polygon: PointList) =
var processedEdges: hashSet[Edge]
if this.error != none:
return
var verts: seq[Vertex] = this.gatherWorkingVerts(polygon)
nimsuggest --stdin t.nim
chk t.nim:1:1
chk skUnknown Error /tmp/hhh/t.nim 15 6 "internal error: assignment requested for type: Error Type" 0
Problem seems to be lowr case hashSet.
Araq commented
This internal error was removed so I think it's ok now. Reopen if still a problem.