Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workaround lowering error in docstring method signatures
This patch adds a (minimal?) targeted hack to workaround an issue where a method signature for documentation fails lowering (#735). Specifically, when revising the following code: ```julia struct Foo{T} end "docs" Foo{T}(::Int) where T ``` lowering errors for the expression `:(Foo{T}(::Int) where T)` with `"invalid :: syntax"`. This patch simply ignores the expression when this situation is detected. Note that, just after, the full expression (docstring + signature) is lowered together succesfully. In particular this means that the docstring will still be updated correctly.
- Loading branch information