From: "matz (Yukihiro Matsumoto)" Date: 2013-02-13T23:08:48+09:00 Subject: [ruby-core:52209] [ruby-trunk - Bug #7841] Cyclic Module#prepend raises no exception while include does Issue #7841 has been updated by matz (Yukihiro Matsumoto). I think it should be detected. Matz. ---------------------------------------- Bug #7841: Cyclic Module#prepend raises no exception while include does https://bugs.ruby-lang.org/issues/7841#change-36232 Author: mame (Yusuke Endoh) Status: Assigned Priority: Normal Assignee: matz (Yukihiro Matsumoto) Category: Target version: next minor ruby -v: ruby 2.0.0dev (2013-02-13 trunk 39225) [x86_64-linux] Hello, module P; end module Q; include P; end module P; include Q; end #=> cyclic include detected module P; end module Q; prepend P; end module P; prepend Q; end #=> no error Is this intentional? -- Yusuke Endoh -- http://bugs.ruby-lang.org/