[Libreoffice-bugs] [Bug 151503] logical operator semantics on missing (optional) arguments has changed between 7.2 and 7.4

2022-10-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151503

Andreas Heinisch  changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |andreas.heini...@yahoo.de
   |desktop.org |
 Status|NEW |ASSIGNED

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151503] logical operator semantics on missing (optional) arguments has changed between 7.2 and 7.4

2022-10-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151503

--- Comment #3 from Mike Kaganski  ---
(In reply to Andreas Heinisch from comment #2)
> Excel on the other hand displays "no".

This is unrelated, since in VBA, (and in our VBA mode) the non-variant
optionals are initialized by the default value of the type.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151503] logical operator semantics on missing (optional) arguments has changed between 7.2 and 7.4

2022-10-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151503

Andreas Heinisch  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #2 from Andreas Heinisch  ---
Confirmed in:
Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: d1707bc31261d16893c1f5240c803d283e293ec1
CPU threads: 16; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: CL threaded

Excel on the other hand displays "no".

Imho, the expected behaviour should be the "not optional/missing" error
message.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151503] logical operator semantics on missing (optional) arguments has changed between 7.2 and 7.4

2022-10-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151503

--- Comment #1 from Mike Kaganski  ---
(In reply to Lionel Elie Mamane from comment #0)
> Compare with:
> 
>   sub tstOpt2(optional foo as boolean)
>   if foo then
>  msgbox "yes"
>   else
>  msgbox "no"
>   end if
>   end sub
> 
> Which shows "yes" in both LibO 7.2 and LibO 7.4

I would consider this a bug. It must give the "not optional/missing" error.

In Basic, there's no boolean short circuiting (unfortunately), so accessing a
missing argument "after" checking IsMissing in the same expression is not
valid.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151503] logical operator semantics on missing (optional) arguments has changed between 7.2 and 7.4

2022-10-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151503

Lionel Elie Mamane  changed:

   What|Removed |Added

 CC||nopo...@novell.com,
   ||uray.ja...@gmail.com
   Severity|normal  |major
   Keywords||bibisectRequest, regression
   Priority|medium  |high

-- 
You are receiving this mail because:
You are the assignee for the bug.