Description: When compiled the following code does not report the variables as undefined. OPTION EXPLICIT Sub Button1 Var1 = 1 End Sub Sub Button2 Var2 = 2 End Sub Steps to Reproduce: 1.Enter the code 2.Click the compile or save button 3. Actual Results: Nothing reported Expected Results: Error message to say variable undefined Reproducible: Always User Profile Reset: No Additional Info: Version: 6.4.4.2 Build ID: 1:6.4.4~rc2-0ubuntu0.18.04.1 CPU threads: 3; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: en-GB (en_GB.UTF-8); UI-Language: en-US Calc: threaded This release was supplied by The Document Foundation, Debian and Ubuntu. Copyright © 2000–2020 LibreOffice contributors. LibreOffice was based on OpenOffice.org.
not reproducible Version: 7.1.0.0.alpha0+ (x64) Build ID: 0d45380c99c7200075d01860a2315d0ddb450f1c CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win Locale: ja-JP (ja_JP); UI: en-US Calc: CL
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided. (Please note that the attachment will be public, remove any sensitive information before attaching it. See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)
Dear tj_trevor.jones, This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INSUFFICIENTDATA due to lack of needed information. For more information about our NEEDINFO policy please read the wiki located here: https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed. Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-NeedInfo-Ping
clarify https://help.libreoffice.org/latest/en-US/text/sbasic/shared/03103300.html see https://ask.libreoffice.org/t/undeclared-symbol-passes-by-option-explicit/112788/4
Olivier Hallot committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/help/commit/b1d8f7ad81193f3a7ef7b5358edafcbf82cf604c tdf#134503 precisions on Option Explicit statement