[Libreoffice-bugs] [Bug 144353] Assigning a missing optional variable to a property does not trigger "argument is not optional"

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Sep 7 19:34:36 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=144353

Andreas Heinisch <andreas.heinisch at yahoo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #1 from Andreas Heinisch <andreas.heinisch at yahoo.de> ---
Repo with:
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 769ed9edaf5e61c6c151cf4ec5bbe25e70e0438c
CPU threads: 6; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: CL

Imho there should be an error on the following situation, too:

Sub Test(Optional i)
  MsgBox i + 10
End Sub

Sub Main()
  Test
End Sub

The actual result atm is the error code 448 + 10 = 458

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210907/4dfa417b/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list