You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 18, 2017. It is now read-only.
This is not a bug, per se, but rather an error that I hit while doing something that I wasn't expecting to break my project. kpm pack should be side effect free.
Create a new web project
Run it from console ("k web")
Go to the project folder
Run "kpm pack"
Repeat step 2
Expected: nothing unusual
Actual: app fails to compile because of ambiguous types - "kpm pack" copies all the sources in bin, which is a subfolder of the project's folder. When the app is dynamically compiled, all the sources are included, meaning that each source file (and the types in it) appear twice.
Here are a few options that I see:
New projects have the bin folder in the source exclusion list
The bin folder, by convention, is not traversed by the compiler
cc @mayurid I think this might impact what you guys are doing too
The text was updated successfully, but these errors were encountered:
This is not a bug, per se, but rather an error that I hit while doing something that I wasn't expecting to break my project. kpm pack should be side effect free.
Expected: nothing unusual
Actual: app fails to compile because of ambiguous types - "kpm pack" copies all the sources in bin, which is a subfolder of the project's folder. When the app is dynamically compiled, all the sources are included, meaning that each source file (and the types in it) appear twice.
Here are a few options that I see:
cc @mayurid I think this might impact what you guys are doing too
The text was updated successfully, but these errors were encountered: