https://bugs.documentfoundation.org/show_bug.cgi?id=168569
Bug ID: 168569
Summary: Date literal has type "Double" in Basic
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Keywords: implementationError
Severity: normal
Priority: medium
Component: BASIC
Assignee: [email protected]
Reporter: [email protected]
This code:
Sub TestDateLiteral
MsgBox TypeName(#2025-09-26#)
End Sub
unexpectedly produces "Double" instead of "Date".
The problem was discussed in https://gerrit.libreoffice.org/c/core/+/36002,
where support for date literals was implemented for bug 93727. The problem
there was in NextSym(); at that time, no solution was found for keeping the
type of parsed literal, so SbxDOUBLE was assigned.
I mark this "implementationError", but "implementationDefect" would fit better
IMO.
--
You are receiving this mail because:
You are the assignee for the bug.