Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

fix #134: crash for operator functions when no baseURL. #139

Conversation

kareman
Copy link
Contributor

@kareman kareman commented Jul 6, 2020

Fixes crashes like this one:

$ swift doc generate my-repo/Sources --module-name MyRepo
2020-06-30T17:00:13-0400 critical: Unable to construct path for /(lhs:rhs:) with baseURL /
Fatal error: file /private/tmp/swift-doc-20200630-24417-jrxtfw/Sources/swift-doc/Supporting Types/Page.swift, line 55
zsh: illegal hardware instruction  swift doc generate my-repo/Sources --module-name MyRepo

See caveat at #134 (comment)

Fixes crashes like this one:

```bash
$ swift doc generate my-repo/Sources --module-name MyRepo
2020-06-30T17:00:13-0400 critical: Unable to construct path for /(lhs:rhs:) with baseURL /
Fatal error: file /private/tmp/swift-doc-20200630-24417-jrxtfw/Sources/swift-doc/Supporting Types/Page.swift, line 55
zsh: illegal hardware instruction  swift doc generate my-repo/Sources --module-name MyRepo
```
@mattt mattt mentioned this pull request Jul 15, 2020
@mattt
Copy link
Contributor

mattt commented Jul 27, 2020

Fixed by #127.

@mattt mattt closed this Jul 27, 2020
@kareman kareman deleted the fix-crash-for-operator-functions-when-no-baseURL branch August 13, 2020 21:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants