Replace TODO with proper BUG comments.
diff --git a/properties.go b/properties.go index cde5948..944b2ee 100644 --- a/properties.go +++ b/properties.go
@@ -4,6 +4,9 @@ package goproperties +// BUG(frank): Set() does not check for invalid unicode literals since this is currently handled by the lexer. +// BUG(frank): Write() does not allow to configure the newline character. Therefore, on Windows LF is used. + import ( "fmt" "io" @@ -121,7 +124,6 @@ // circular reference or a malformed expression then // an error is returned. func (p *Properties) Set(key, value string) (prev string, ok bool, err error) { - // TODO(frank): Check for invalid unicode literals since this is currently done in the lexer. _, err = p.expand(value) if err != nil { return "", false, err