Issue #8503 has been reported by charliesome (Charlie Somerville).

----------------------------------------
Backport #8503: Backport r41175
https://bugs.ruby-lang.org/issues/8503

Author: charliesome (Charlie Somerville)
Status: Open
Priority: Normal
Assignee: usa (Usaku NAKAMURA)
Category: 
Target version: 


r41175 fixes Module#include failing to increment ruby_vm_global_state_version when a module without any methods was included into a class.

This can cause constant lookups to be incorrectly cached.


-- 
http://bugs.ruby-lang.org/