daml/compiler/daml-lf-ast/BUILD.bazel
Remy 5f0976343c
DAML-LF: fix subsitution bug (#3798)
* damlc lf typechecker: expose subtitution bug

* Fix substitution bug

* Rename variables

* fix subsitution bug in scala side

* reactive some test

* Update daml-lf/validation/src/main/scala/com/digitalasset/daml/lf/validation/TypeSubst.scala

Co-Authored-By: associahedron <231829+associahedron@users.noreply.github.com>

* Update daml-lf/validation/src/main/scala/com/digitalasset/daml/lf/validation/TypeSubst.scala

Co-Authored-By: associahedron <231829+associahedron@users.noreply.github.com>
2019-12-10 13:36:55 +01:00

51 lines
1.1 KiB
Python

# Copyright (c) 2019 The DAML Authors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
load("//bazel_tools:haskell.bzl", "da_haskell_library", "da_haskell_test")
da_haskell_library(
name = "daml-lf-ast",
srcs = glob(["src/**/*.hs"]),
hackage_deps = [
"base",
"bytestring",
"containers",
"deepseq",
"Decimal",
"extra",
"hashable",
"lens",
"mtl",
"recursion-schemes",
"safe",
"scientific",
"template-haskell",
"text",
"time",
"unordered-containers",
],
src_strip_prefix = "src",
visibility = ["//visibility:public"],
deps = [
"//libs-haskell/da-hs-base",
],
)
da_haskell_test(
name = "tests",
srcs = glob(["test/**/*.hs"]),
hackage_deps = [
"base",
"containers",
"tasty",
"tasty-hunit",
],
main_function = "DA.Daml.LF.Ast.Tests.main",
src_strip_prefix = "test",
visibility = ["//visibility:public"],
deps = [
":daml-lf-ast",
"//libs-haskell/da-hs-base",
],
)