What happened to compilation log?
How to understand what's wrong with compilation if the compilator just hides errors?
Compilation started on 05/15/2023 15:58:11 with qualifiers 'cuk' Detected 1 errors during compilation in 0.003s. Compilation started on 05/15/2023 15:58:32 with qualifiers 'cuk' Detected 1 errors during compilation in 0.002s. Compilation started on 05/15/2023 15:58:51 with qualifiers 'cuk' Detected 40 errors during compilation in 0.089s.
40 errors, and what do I have to do with this so valuable information?
Comments
when you call the compiler did you call
Set tSC=##class(%SYSTEM.OBJ).Compile(ClassName,"cuk",.errorFile)and was anything contained in the output array errorFile?
It's the compilation log in VSCode, why should I even try this way?
Maybe it is an issue of VSCode?
Nope, plain $system.OBJ.Compile outputs the same way.
And there is no "verbose" flag available?
No it's just randomly can output errors, and output just nothing
Any news, about this issue, or that only happen to me?
I'm working in docker, in many different IRISs, but always have this issue
Or finally, no one works with ObjectScript anymore?
In terminal, I managed to get expected log, on each third compile, but it's still insane
Compilation started on 09/11/2023 19:13:27 with qualifiers 'ck-u'
Compiling class User.demo
Compiling table SQLUser.demo
Compiling routine User.demo.1
Compilation finished successfully in 0.081s.
USER>do $system.OBJ.Compile("User.demo","ck-u")
Compilation started on 09/11/2023 19:13:28 with qualifiers 'ck-u'
Compilation finished successfully in 0.071s.
USER>do $system.OBJ.Compile("User.demo","ck-u")
Compilation started on 09/11/2023 19:13:29 with qualifiers 'ck-u'
Compilation finished successfully in 0.064s.
USER>do $system.OBJ.Compile("User.demo","ck-u")
Compilation started on 09/11/2023 19:13:30 with qualifiers 'ck-u'
Compiling class User.demo
Compiling table SQLUser.demo
Compiling routine User.demo.1
Compilation finished successfully in 0.087s.And the same class through VSCode, outputs always the same
Compilation started on 09/11/2023 19:15:59 with qualifiers 'c-uk' Compilation finished successfully in 0.059s. Compilation started on 09/11/2023 19:16:00 with qualifiers 'c-uk' Compilation finished successfully in 0.056s. Compilation started on 09/11/2023 19:16:22 with qualifiers 'c-uk' Compilation finished successfully in 0.056s. Compilation started on 09/11/2023 19:16:27 with qualifiers 'c-uk' Compilation finished successfully in 0.050s. Compilation started on 09/11/2023 19:16:30 with qualifiers 'c-uk' Compilation finished successfully in 0.052s. Compilation started on 09/11/2023 19:16:33 with qualifiers 'c-uk' Compilation finished successfully in 0.056s. Compilation started on 09/11/2023 19:16:35 with qualifiers 'c-uk' Compilation finished successfully in 0.053s.
Can't reproduce it anymore 🤦♂️