79144377

Date: 2024-10-31 10:43:25
Score: 0.5
Natty:
Report link

It looks like the behavior has changed since early 2018. On Julia 1.10.5 an error is reported.

julia> g() = (const global y = 1)
ERROR: syntax: `global const` declaration not allowed inside function around REPL[1]:1
Stacktrace:
 [1] top-level scope
   @ REPL[1]:1

julia> 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: TradingDerivatives.eu