Add FIXME comment

This commit is contained in:
Sven Slootweg 2020-07-03 13:17:47 +02:00
parent fb82fb820a
commit 783f67a03e

View file

@ -11,6 +11,7 @@ const { dim, dimBold, highlight, highlightBold } = require("./colors");
// TODO: Omit the "At (root)" for path-less errors, to avoid confusion when singular values are being compared? // TODO: Omit the "At (root)" for path-less errors, to avoid confusion when singular values are being compared?
// TODO: Move out the path generating logic into a separate module, to better support custom error formatting code // TODO: Move out the path generating logic into a separate module, to better support custom error formatting code
// FIXME: Remove duplicate subError-less error messages, when heuristics are enabled? eg. multiple "Must be an array" for different arrayOf combinators
function joinPathSegments(segments) { function joinPathSegments(segments) {
return (segments.length > 0) return (segments.length > 0)