aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/test/small_SUITE_data/results/literals
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2014-06-17 16:29:24 +0200
committerHans Bolinder <[email protected]>2014-06-17 16:29:24 +0200
commit9572b1c4615e9efc9a7ff53fafc9a32730ae45e4 (patch)
tree21bf2411cacb5513dc44632cc955134ee50b192c /lib/dialyzer/test/small_SUITE_data/results/literals
parent584fb6f256f02d48b3c0be9a9462fe7df1b1acb4 (diff)
parent805f9c89fc01220bc1bb0f27e1b68fd4eca688ba (diff)
downloadotp-9572b1c4615e9efc9a7ff53fafc9a32730ae45e4.tar.gz
otp-9572b1c4615e9efc9a7ff53fafc9a32730ae45e4.tar.bz2
otp-9572b1c4615e9efc9a7ff53fafc9a32730ae45e4.zip
Merge branch 'maint'
* maint: [dialyzer] Correct a doc bug introduced in 0b041238 [dialyzer] Use the option 'dialyzer' to control the compiler [dialyzer] Fix handling of literal records
Diffstat (limited to 'lib/dialyzer/test/small_SUITE_data/results/literals')
-rw-r--r--lib/dialyzer/test/small_SUITE_data/results/literals14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/dialyzer/test/small_SUITE_data/results/literals b/lib/dialyzer/test/small_SUITE_data/results/literals
new file mode 100644
index 0000000000..03e161ca71
--- /dev/null
+++ b/lib/dialyzer/test/small_SUITE_data/results/literals
@@ -0,0 +1,14 @@
+
+literals.erl:11: Function t1/0 has no local return
+literals.erl:12: Record construction #r{id::'a'} violates the declared type of field id::'integer' | 'undefined'
+literals.erl:14: Function t2/0 has no local return
+literals.erl:15: Record construction #r{id::'a'} violates the declared type of field id::'integer' | 'undefined'
+literals.erl:17: Function t3/0 has no local return
+literals.erl:18: Record construction #r{id::'a'} violates the declared type of field id::'integer' | 'undefined'
+literals.erl:21: Record construction #r{id::'a'} violates the declared type of field id::'integer' | 'undefined'
+literals.erl:23: Function m1/1 has no local return
+literals.erl:23: Matching of pattern {'r', 'a'} tagged with a record name violates the declared type of #r{id::'integer' | 'undefined'}
+literals.erl:26: Function m2/1 has no local return
+literals.erl:26: Matching of pattern {'r', 'a'} tagged with a record name violates the declared type of #r{id::'integer' | 'undefined'}
+literals.erl:29: Function m3/1 has no local return
+literals.erl:29: The pattern {{'r', 'a'}} can never match the type any()