<oz>
ugh... is there anything we can do to fix that?
_ht has joined #crystal-lang
ur5us has joined #crystal-lang
sagax has quit [Ping timeout: 240 seconds]
ur5us has quit [Ping timeout: 240 seconds]
_whitelogger has joined #crystal-lang
Liothen has quit [Ping timeout: 256 seconds]
_whitelogger has quit [Ping timeout: 256 seconds]
_whitelogger has joined #crystal-lang
sagax has joined #crystal-lang
FromGitter has joined #crystal-lang
blackbeard420 has quit [Quit: ZNC 1.7.5 - https://znc.in]
blackbeard420 has joined #crystal-lang
_ht has quit [Quit: _ht]
<postmodern>
if you rename a constant in your library, do you leave behind the old constant to alias the value?
<postmodern>
i know crystal is kind of against aliases
<FromGitter>
<tenebrousedge> I probably wouldn't bother
<postmodern>
i mean, i am technically breaking semver, even though i only just released the library
<FromGitter>
<kinxer> Then increase the minor version so it's clear that there could be breaking changes. If people are using your library with `shards`, they should probably be using a specific version or `~>`, in which case they will have to manually update to the new version (which is good).
<FromGitter>
<tenebrousedge> the nice thing about Crystal, as opposed to Ruby, is that things like that will only ever be compile-time issues
<postmodern>
semver dictates that break changes can only occur in major version bumps, though
<FromGitter>
<Blacksmoke16> but if its pre `1.0.0` the minor is used to indicate breaking
<postmodern>
hmm aliasing the constant gives me a weird error about `Error: undefined macro method 'Path#name'`. Probably a sign not to.
<FromGitter>
<Blacksmoke16> add a `.resolve`
<FromGitter>
<Blacksmoke16> `Type.resolve.name`
<FromGitter>
<Blacksmoke16> but what are you trying to do?