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
We are aware of this one, but there was no issue opened for it, so thanks for reporting. Classes are currently seen (wrongly) as runtime extensible, that's why you don't see an error at compiler time.
Classes are currently seen (wrongly) as runtime extensible
Btw, ADODB.Connection is deliberately missing nonextensible attribute so that one can call stored procedures with cn.MyStoredProc Param1, Param2, ... syntax in VB code.
It might be good candidate for testing nonextensible attribute implementation.
Calling a non existent method or property in an object gives NO warning at edit time or at compile time, but gives "Unknown Name" error at runtime.
This is BAD, I need to catch errors like this before my customers!!
To Reproduce
Insert this code and note the D.yyy=10
Module Dave
Public Sub Main()
dim D as new DaveObj
End Module
class DaveObj
public xxx as long
end class
Expected behavior
I want to see this problem reported whilst editing, or at least while compiling
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: