Bug 134503 - Editing OPTION EXPLICIT does not report an undefined variable
Summary: Editing OPTION EXPLICIT does not report an undefined variable
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
Version:
(earliest affected)
6.4.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Olivier Hallot
URL:
Whiteboard: target:25.2.0
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-04 15:50 UTC by tj_trevor.jones
Modified: 2024-10-21 08:40 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tj_trevor.jones 2020-07-04 15:50:14 UTC
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.
Comment 1 himajin100000 2020-07-19 11:27:14 UTC
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
Comment 2 Xisco Faulí 2020-07-20 15:00:22 UTC
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.)
Comment 3 QA Administrators 2021-01-17 04:12:37 UTC Comment hidden (obsolete)
Comment 5 Commit Notification 2024-10-21 08:40:25 UTC
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