Conversation
|
Alternatively, this behavior could be a new triggered by a new redshift option? |
8482e36 to
9abfd18
Compare
|
+1 for the goal, but I'm not sure this is the right approach: we already have I propose the following:
Two things which I like of this approach are:
One open question: how do we format a stripped FQN? Imagine this: # mod.spy
@struct
class T:
def bar(self) -> None:
passOne option is to just strip the parent and be happy; another is to use some kind of "relative to here" marker: @struct
class `./T`:
def `./bar`(self) -> None:
passJust to be clear, I don't like the
Of these, I think I like |
9abfd18 to
ced95b4
Compare
ced95b4 to
8095b9e
Compare
|
I changed the implementation with I didn't change yet I'm not sure that it is so useful. What does it add to have `.T` instead of |
Related to #474
It seems to me that the current module name should not be displayed in FQN by default.
For real world code (longer than simple examples), it considerably simplify the output which becomes much more readable.
Of course, the full FQN can be obtained with
--full-fqn.For example, applied to one of the example:
And for a typical function: