Commit Graph

11 Commits

Author SHA1 Message Date
dylant-da
069f1c060a
Upgrade validation warnings to errors flag (#19259)
* Split errors into errors that can turn into warnings (or vice versa)

* Add warn-bad-interface-instances flag

* fix compilation errors, finish implementation of swap

* Add tests for warn-bad-interface-instances flag

* Bump - try to rebuild?

run-all-tests: true

* Don't do single-package checks if typecheck-upgrades: true

* Fix tests that break on warn-bad-interface-instances

* Lint

* Move WEWarningToError to Error type, remove commented code

Also:
- Mark integration tests as flaky again
- Whitespace

* Check errors & warns aren't emitted when upgrades/typechecking disabled

* Update error message & expected error message
2024-07-10 14:44:29 +00:00
Remy
2871090358
move proto archive in com.digitalasset (#19497) 2024-07-09 17:15:30 +02:00
mziolekda
c8bcbe705d
Remove temporary workaround for too long file names (#19469) 2024-06-27 21:39:22 +02:00
azure-pipelines[bot]
0c67ba39e7
update canton to 20240624.13529.vdf9677d5 (#19442)
* update canton to 20240624.13529.vdf9677d5

tell-slack: canton

* fix build

* another fix

* Fix proto file listing check

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Marcin Ziolek <marcin.ziolek@digitalasset.com>
2024-06-25 14:14:52 +02:00
yves-da
b81ab4c7c5
Update docs.daml.com copyright notice (#19337) 2024-06-05 15:42:03 +02:00
Simon Maxen
b4009e3c1e
Remove unused duplicate error infrastructure (#19121)
* Remove unused duplicate error infrastructure

* Remove trailing deps
2024-04-30 17:07:24 +01:00
Simon Maxen
05212c9fd4
Cleanup GlobalKey use (#19027)
* Cleanup GlobalKey use

* With canton one line fix

* Update with review comments

* Add packageName to GlobalKey.toString
2024-04-18 15:00:52 +01:00
Remy
9c3ceab776
Test for LF V1 Archive Reader (#18946)
* Test for LF V1 Archive Reader

* Update sdk/daml-lf/api-type-signature/src/test/scala/lf/typesig/reader/SignatureReaderSpec.scala
2024-04-08 11:00:42 +02:00
Paul Brauner
cf2b387c3b
Disallow keys in LF 2.1 in the compiler (#18886)
* Disable keys in LfConversion.

* fix UnusedMatchTests.daml in integration-v21

* fix //compiler/damlc/tests:upgrades

* stop compiling daml tests that use keys with 2.1

* migrate the upgrade examples to 2.dev as they use keys

* only compile daml-script/tests dar using keys to 2.dev

* do not compile daml-script/test daml files that use keys to 2.1

* fix //docs:bindings-java-daml-test

* add TODOs everywhere tests need to be split

* add a tests that checks that contract keys are rejected for LF<2.dev

* remove keys from compatibility tests

* Add the qualified template name to the keys not supported error message
2024-04-03 16:24:22 +02:00
Remy
e378a0f221
partial revert of [LF] drop retroactive interface instance #18282 (#18876)
* refactor bazel LF versions

* partial revert of [LF] drop retroactive interface instance #18282

recover retroacive instance in
- AST
- api-type-signature

* fmt

* Apply suggestions from code review

Co-authored-by: Paul Brauner <141240651+paulbrauner-da@users.noreply.github.com>

* address Paul's review

---------

Co-authored-by: Paul Brauner <141240651+paulbrauner-da@users.noreply.github.com>
2024-04-02 10:11:36 +00:00
Gary Verhaegen
e40aad897f
move to subdir 3.0 (#18520)
* move most files

* update CI configuration
2024-03-22 02:27:46 +01:00