cleaning up the last few stragglers

Signed-off-by: quobix <dave@quobix.com>
This commit is contained in:
quobix
2023-11-01 15:15:46 -04:00
parent cb5e498254
commit ce4a60baa8
3 changed files with 1 additions and 14 deletions

View File

@@ -530,10 +530,6 @@ func ExtractMapNoLookupExtensions[PT Buildable[N], N any](
}
}
}
if foundIndex == nil {
foundIndex = idx
}
var n PT = new(N)
err := BuildModel(node, n)
if err != nil {
@@ -553,7 +549,6 @@ func ExtractMapNoLookupExtensions[PT Buildable[N], N any](
}] = ValueReference[PT]{
Value: n,
ValueNode: node,
//IsReference: isReference,
Reference: referenceValue,
}
}