Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cabal init: parse module names with simpleParse instead of fromString #1140

Merged
merged 1 commit into from Dec 10, 2012
Merged

cabal init: parse module names with simpleParse instead of fromString #1140

merged 1 commit into from Dec 10, 2012

Conversation

byorgey
Copy link
Member

@byorgey byorgey commented Dec 9, 2012

fromString crashes when given an invalid module name so this was causing cabal init to crash if you happened to have directories containing code that weren't valid module names (e.g. containing hyphens). See #1052. This commit fixes cabal init to deal with invalid module names properly.

dcoutts added a commit that referenced this pull request Dec 10, 2012
cabal init: parse module names with simpleParse instead of fromString
@dcoutts dcoutts merged commit d2b81ef into haskell:master Dec 10, 2012
@dcoutts
Copy link
Contributor

dcoutts commented Dec 10, 2012

Looks fine, thanks for that.

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

Successfully merging this pull request may close these issues.

None yet

2 participants