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:
1 parent
cbbcca0d84
commit
4b6bc7bb7c
9 files changed
+64
-7
No files matched your search
@@ -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