summaryrefslogtreecommitdiff
path: root/src/tests/eolian/data/struct.eo
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2019-09-30 19:48:19 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-09-30 19:48:19 +0200
commit835e230f2fefa14cdfae7af84dc5afbc40bca985 (patch)
treeac9862256197c9c155d34275dd0cf7ae16ea057a /src/tests/eolian/data/struct.eo
parent2946cb3c325f27d77354ac1b83b614e3a1d9e1d5 (diff)
Revert "eolian: disallow missing docs for stable API where necessary"
I'm afraid but this breaks the mono bindings too close to a release. This also fixes the missing docs errors by adding a lot of inconsistent placeholder text ("No description supplied.", "TBD") which will make finding them later on more complicated. I was the one that asked for this feature but it is not critical at this point, so I suggest we explore some refinements (like T8291) before landing this patch in its current state. This reverts commit 2946cb3c325f27d77354ac1b83b614e3a1d9e1d5.
Diffstat (limited to 'src/tests/eolian/data/struct.eo')
-rw-r--r--src/tests/eolian/data/struct.eo9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/tests/eolian/data/struct.eo b/src/tests/eolian/data/struct.eo
index 76a2033..57f250b 100644
--- a/src/tests/eolian/data/struct.eo
+++ b/src/tests/eolian/data/struct.eo
@@ -1,24 +1,20 @@
1struct Named { 1struct Named {
2 [[No description supplied.]]
3 field: int @by_ref; 2 field: int @by_ref;
4 something: string; 3 something: string;
5} 4}
6 5
7struct Another { 6struct Another {
8 [[No description supplied.]]
9 field: Named; 7 field: Named;
10} 8}
11 9
12/* opaque struct */ 10/* opaque struct */
13struct Opaque; [[No description supplied.]] 11struct Opaque;
14 12
15struct @extern Not.Generated { 13struct @extern Not.Generated {
16 [[No description supplied.]] 14 field: int;
17 field: int;
18} 15}
19 16
20class Struct { 17class Struct {
21 [[No description supplied.]]
22 methods { 18 methods {
23 foo { 19 foo {
24 [[Foo docs. This is $monospace. This is alone-standing $.]] 20 [[Foo docs. This is $monospace. This is alone-standing $.]]
@@ -28,7 +24,6 @@ class Struct {
28 return: mstring @move; 24 return: mstring @move;
29 } 25 }
30 bar { 26 bar {
31 [[No description supplied.]]
32 return: Named @by_ref; 27 return: Named @by_ref;
33 } 28 }
34 } 29 }