You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Project level introduced Conditional Compilation consts are not resolved on preprocessor #Const lines
To Reproduce
In Project Settings use in Conditional Compilation this
MY_TEST=1
This test code fails to run
Module TestModule
#Const ImplTest = (MY_TEST=1)
#If ImplTest Then
Public Sub Main()
End Sub
#End If
End Module
Additional context
The project settings page says "Enter a comma delimited list of name=value pairs used by the compiler during conditional compilation evaluation". Does this deliberately differ from VBA/VB6 colon (:) separated list?
Btw, the consts from project settings are always Variants of String sub-type while #Const introduced can be Variants of any sub-ype (e.g. #Const ImplTest = (MY_TEST=1) must be a Boolean sub-type (the result of comparing a string to an integer literal).
The text was updated successfully, but these errors were encountered:
Fixed in v0.10.2532, thanks for reporting. Any errors in the project-level compilation arguments are not gracefully handled yet, but they are parsed and passed to the compiler correctly now.
Describe the bug
Project level introduced Conditional Compilation consts are not resolved on preprocessor
#Const
linesTo Reproduce
Additional context
The project settings page says "Enter a comma delimited list of name=value pairs used by the compiler during conditional compilation evaluation". Does this deliberately differ from VBA/VB6 colon (
:
) separated list?Btw, the consts from project settings are always Variants of String sub-type while
#Const
introduced can be Variants of any sub-ype (e.g.#Const ImplTest = (MY_TEST=1)
must be a Boolean sub-type (the result of comparing a string to an integer literal).The text was updated successfully, but these errors were encountered: