I just experienced the second occasion where I was trying to create a MWE for a bug report, but while creating the MWE I forgot that I was back in my @v1.4 environment rather than the environment in which I first encountered the error. It would be handy if there were a startup option that would print the currently active environment as part of the julia> prompt so that you always know what environment you’re in.
I created a github issue for this the first time that I made that mistake. Give it some thumbs up if you support the change:
Yeah, I know that. And yet I often forget to explicitly type ] into the REPL to double check what environment I’m in. Without the explicit visual indication in the normal REPL prompt, it’s easy to subconsciously assume you’re in one environment when you’re actually in another. Especially if you’re changing environments or Julia sessions, it’s easy to lose track of what environment you’re in, and a subconscious assumption might take over.