[Cuis-dev] Show context in shadowing warnings in Transcript
Juan Vuletich
juan at jvuletich.org
Fri Jun 25 08:36:34 PDT 2021
On 6/25/2021 12:28 PM, Mariano Montone via Cuis-dev wrote:
> Hello.
>
> When I load some of my packages I get shadowing warnings in Transcript,
> but without context, like this:
>
> There already exists a variable named attributes
> There already exists a variable named concept
> There already exists a variable named concept
> There already exists a variable named concept
>
> That is a bit useless, as the place where the problem occurs is not shown.
>
> Can we change it to something like in the attached change set? So that
> the class and selector is printed.
>
> Like this:
>
> There already exists a variable named attributes (MoldConcept
> class>>#bootstrap)
> There already exists a variable named concept (MoldConcept class>>#invoke:)
> There already exists a variable named concept (MoldConcept
> class>>#invoke:withArguments:)
> There already exists a variable named concept (MoldConcept class>>#lookup:)
>
> Thanks,
>
> Mariano
Nice! Now at GitHub, in record time :)
Cheers,
--
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
@JuanVuletich
More information about the Cuis-dev
mailing list