def foo;module A;end;end
        ^~~~~~ unexpected module definition in method body

