mirror of
https://github.com/apple/pkl.git
synced 2026-04-27 10:47:12 +02:00
Produce more helpful output when module output is overwritten (#716)
Fix a bug where overwriting `output` causes a PklBugException. This now produces a more helpful message pointing to the actual problem. Co-authored-by: translatenix <119817707+translatenix@users.noreply.github.com>
This commit is contained in:
@@ -833,8 +833,8 @@ A type union cannot have more than one default type.
|
||||
notAUnion=\
|
||||
Only type unions can have a default marker (*).
|
||||
|
||||
invalidModuleOutputValue=\
|
||||
Expected `output.value` of module `{2}` to be of type `{0}`, but got type `{1}`.
|
||||
invalidModuleOutput=\
|
||||
Expected `{0}` of module `{3}` to be of type `{1}`, but got type `{2}`.
|
||||
|
||||
cannotResolveDependencyWithoutHierarchicalUris=\
|
||||
Cannot import dependency because project URI `{0}` does not have a hierarchical path.
|
||||
|
||||
Reference in New Issue
Block a user