-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changelog_begin - [Daml Compiler] Imports of internal modules are no longer illegal. Previously, the compiler raised an error when it encountered imports of internal modules such as `DA.Internal.*`. Such imports are now accepted by the compile. Note, however, that internal modules are still not part of the stable API. Fixes #10379 changelog_end Previously, imports of internal modules such as
- Loading branch information
Showing
2 changed files
with
3 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
-- Copyright (c) 2020, Digital Asset (Switzerland) GmbH and/or its affiliates. | ||
-- All rights reserved. | ||
|
||
-- @ERROR range=9:1-9:28; Import of internal module DA.Internal.Template is not allowed. | ||
|
||
-- Internal imports used to be forbidden but are allowed since 1.16.0. | ||
|
||
module InternalImport where | ||
|
||
import DA.Internal.Template | ||
import DA.Internal.Template() |