We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46789b6 commit 801adacCopy full SHA for 801adac
1 file changed
export/WebTerminal/Autocomplete.xml
@@ -86,10 +86,11 @@ system classes generates one time and forever.
86
set countMethods = cdefs.Methods.Count()
87
set countParameters = cdefs.Parameters.Count()
88
set countProperties = cdefs.Properties.Count()
89
- try { // SystemMethods does not exists for Caché versions before 2016.*
90
- set countSysMethods = ccdefs.SystemMethods.Count()
91
- } catch (e) {
92
- set countSysMethods = 0
+ if ##class(%Dictionary.PropertyDefinition).IDKEYExists("%Dictionary.ClassDefinition","SystemMethods") {
+ set countSysMethods = ccdefs.SystemMethods.Count()
+ } else {
+ // SystemMethods does not exists for Caché versions before 2016.*
93
+ set countSysMethods = 0
94
}
95
set total = countMethods + countParameters + countProperties + countSysMethods
96
set current = 0
0 commit comments