Module constants

Jets doesn’t like constants inside module

this fails

module Xyz
  ABC= 'abc'
end

but this passes

module Xyz
  class Abc
    ABC='abc'
  end
end

:thinking: Unsure. Tried to re-produce without success:

$ cat my_test.rb 
module Foo
  ABC= "abc"
end

pp Foo::ABC

module Bar
  class Abc
    XYZ="xyz"
  end
end

pp Bar::Abc::XYZ
$ jets c
Jets booting up in development mode!
>> load "./my_test.rb"
"abc"
"xyz"
=> true
>> 

Wondering what’s different to figure out the core of the issue.

Thanks for checking Tung, looks like this is something on my end :frowning:
You can close this or mark resolved.
Sorry about the false alarm!