Skip to content


Subversion checkout URL

You can clone with
Download ZIP


some adjustments to show-source behaviour #691

banister opened this Issue · 1 comment

3 participants


When inside an object (e.g cd object) show-source without parameters should show the source of class (highest candidate). If the highest candidate is a C class (e.g most source_location return nil) then display a warning, and dont show code of second-highest candidate (this is to prevent confusion when someone is e.g inside a core class like String, so we dont show them a monkeypatch of String).

@rf- rf- added the bug label
@rf- rf- removed this from the 0.9.11 milestone
@rf- rf- removed the refactor label

This still sounds like a good idea but if we haven't gotten to it in 2 years I recommend closing this issue.

@kyrylo kyrylo closed this issue from a commit
@kyrylo kyrylo show-source: if the current context is a C object, display a warning
Fixes #691 (some adjustments to show-source behaviour)
@kyrylo kyrylo closed this in f289862
@kyrylo kyrylo referenced this issue from a commit
@kyrylo kyrylo CHANGELOG: mention the fix of #691
The commit that fixes it:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.