Skip to content

Conversation

k14i
Copy link
Contributor

@k14i k14i commented Jun 1, 2014

Since "/" is surely an absolute path and Path.absname("/foo") returns "/foo", programmers will expect that Path.absname("/") should return "/", and the same applies to Path.expand("/").
The past code retruned "" for Path.absname("/") and FunctionClauseError for Path.expand("/").

josevalim pushed a commit that referenced this pull request Jun 1, 2014
Fix Path.absname("/") and Path.expand("/") to return the absolute path "/".
@josevalim josevalim merged commit 9c90955 into elixir-lang:master Jun 1, 2014
@josevalim
Copy link
Member

❤️ 💚 💙 💛 💜

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants