mirror of
https://github.com/apple/pkl.git
synced 2026-03-25 18:41:18 +01:00
Avoid resolving paths on fragments (#357)
Fixes an issue where modules with fragment paths are resolved against the URI path.
This commit is contained in:
committed by
GitHub
parent
c9ed183891
commit
e347b26cf6
@@ -28,7 +28,7 @@
|
||||
<div class="member-signature">open module <span class="name-decl">birds.Bird</span></div>
|
||||
<dl class="member-info">
|
||||
<dt class="">Module URI:</dt>
|
||||
<dd><span class="import-uri">package://localhost:0/Bird.pkl</span><i class="copy-uri-button material-icons">content_copy</i></dd>
|
||||
<dd><span class="import-uri">package://localhost:0/birds@0.5.0#/Bird.pkl</span><i class="copy-uri-button material-icons">content_copy</i></dd>
|
||||
<dt class="">Source code:</dt>
|
||||
<dd><a href="https://example.com/birds/v0.5.0/blob/Bird.pkl">Bird.pkl</a></dd>
|
||||
<dt class="runtime-data hidden">Known subtypes:</dt>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<div class="member-signature">module <span class="name-decl">birds.allFruit</span></div>
|
||||
<dl class="member-info">
|
||||
<dt class="">Module URI:</dt>
|
||||
<dd><span class="import-uri">package://localhost:0/allFruit.pkl</span><i class="copy-uri-button material-icons">content_copy</i></dd>
|
||||
<dd><span class="import-uri">package://localhost:0/birds@0.5.0#/allFruit.pkl</span><i class="copy-uri-button material-icons">content_copy</i></dd>
|
||||
<dt class="">Source code:</dt>
|
||||
<dd><a href="https://example.com/birds/v0.5.0/blob/allFruit.pkl">allFruit.pkl</a></dd>
|
||||
<dt class="runtime-data hidden">Known subtypes:</dt>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<div class="member-signature">module <span class="name-decl">birds.catalog</span></div>
|
||||
<dl class="member-info">
|
||||
<dt class="">Module URI:</dt>
|
||||
<dd><span class="import-uri">package://localhost:0/catalog.pkl</span><i class="copy-uri-button material-icons">content_copy</i></dd>
|
||||
<dd><span class="import-uri">package://localhost:0/birds@0.5.0#/catalog.pkl</span><i class="copy-uri-button material-icons">content_copy</i></dd>
|
||||
<dt class="">Source code:</dt>
|
||||
<dd><a href="https://example.com/birds/v0.5.0/blob/catalog.pkl">catalog.pkl</a></dd>
|
||||
<dt class="runtime-data hidden">Known subtypes:</dt>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<div class="member-signature">module <span class="name-decl">fruit.Fruit</span></div>
|
||||
<dl class="member-info">
|
||||
<dt class="">Module URI:</dt>
|
||||
<dd><span class="import-uri">package://localhost:0/Fruit.pkl</span><i class="copy-uri-button material-icons">content_copy</i></dd>
|
||||
<dd><span class="import-uri">package://localhost:0/fruit@1.1.0#/Fruit.pkl</span><i class="copy-uri-button material-icons">content_copy</i></dd>
|
||||
<dt class="runtime-data hidden">Known subtypes:</dt>
|
||||
<dd id="known-subtypes" class="runtime-data hidden"></dd>
|
||||
<dt class="runtime-data hidden">Known usages:</dt>
|
||||
|
||||
Reference in New Issue
Block a user