This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,3 @@
|
|||
(alias
|
||||
(name default)
|
||||
(deps (alias_rec all)))
|
||||
|
|
@ -0,0 +1 @@
|
|||
(lang dune 1.7)
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
(library
|
||||
(name impl)
|
||||
(implements lib))
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
(library
|
||||
(name lib))
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
Test that trying to implement libraries that aren't virtual results in an
|
||||
appropriate error message.
|
||||
$ dune build
|
||||
File "impl/dune", line 3, characters 13-16:
|
||||
3 | (implements lib))
|
||||
^^^
|
||||
Error: Library "lib" is not virtual. It cannot be implemented by "impl".
|
||||
-> required by alias default in dune:1
|
||||
[1]
|
||||
Loading…
Add table
Add a link
Reference in a new issue