Fix inconsistent Feature.on_attach checks
A few core `Feature` implementations were using `assert`s and generic
`Exception` instead of `AlreadyThere`, which unnecessarily produces errors
when already-attached `Feature` requirements are added by `Rewriter`s.
正在显示
请
注册
或者
登录
后发表评论