https://bugs.documentfoundation.org/show_bug.cgi?id=146401
Bug ID: 146401
Summary: Option Compatible negates unknown datatype check
Product: LibreOffice
Version: 7.2.3.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: trivial
Priority: medium
Component: BASIC
Assignee: [email protected]
Reporter: [email protected]
Description:
Enabling Option Compatible in a module negates the unknown data type check.
The given the code well error "unknown datatype":
'option compatible
sub test()
dim n as not_a_valid_datatype
end sub
Enabling Option Compatible and the interpreter doesn't complain about the
datatype.
XRay shows n as "no data(null)"
Steps to Reproduce:
1.enable option compatible in a basic module
2.define a variable as a nonexistent type
3.run and see no error message
Actual Results:
No error shows
Expected Results:
Invalid Datatype Error should show
Reproducible: Always
User Profile Reset: No
Additional Info:
Version: 7.2.3.2 (x64) / LibreOffice Community
Build ID: d166454616c1632304285822f9c83ce2e660fd92
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render:
Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
--
You are receiving this mail because:
You are the assignee for the bug.