slice2swift
Does not Correctly Generate Links to Symbols in Nested Modules
#3120
Milestone
slice2swift
Does not Correctly Generate Links to Symbols in Nested Modules
#3120
In Swift, packages are flat, meaning things can only live 1 package deep, there is no notion of "nested packages".
To fix this, any Slice constructs which are within nested modules will have the extra modules rolled into their names. Ex:
will generate a struct named
MXMetricsFailures
which lives inside theIce
package.This approach really screws with doc-comments.
Let's say we now do
{@link MetricsFailures}
. All we see is this string. There's no collision with reserved identifiers or keywords, so we don't change the string, and generate a Swift link to it:``MetricsFailures``
. However, nothing with that name exists. Since it should be mapped toMXMetricsFailures
.The text was updated successfully, but these errors were encountered: