[Bug]: bal build
showing contradictory behaviours when building with update 9 followed by update 8
#42778
Labels
Team/DevTools
Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs )
Type/Bug
userCategory/Compilation
Description
When a project is first built with update 9 followed by update 8, depending on the imports in the project
Dependecies.toml
strictly.Dependencies.toml
when the build passes.)Expected behavior - When a Ballerina project is built with a latest update followed by an older update, We should stick to the
Dependencies.toml
(latest update build) strictly.Consider following examples
Scenario 1
main.bal
Scenario 2
main.bal
Scenario 1
fails withunresolved module
error whileScenario 2
passes without any errorSteps to Reproduce
No response
Affected Version(s)
update 9, update 8 and other versions may be
OS, DB, other environment details and versions
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: