Skip to content

Commit 3c6b060

Browse files
committed
Precondition: Name can't be null
1 parent 2904cca commit 3c6b060

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/gnatdoc-comments-helpers.ads

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ package GNATdoc.Comments.Helpers is
2828
Origin : Libadalang.Analysis.Ada_Node'Class;
2929
Options : GNATdoc.Comments.Options.Extractor_Options;
3030
Code_Snippet : out VSS.String_Vectors.Virtual_String_Vector;
31-
Documentation : out VSS.String_Vectors.Virtual_String_Vector);
31+
Documentation : out VSS.String_Vectors.Virtual_String_Vector)
32+
with Pre => not Name.Is_Null;
3233
-- Return code snippet and documentation for the given node in plain text
3334
-- format.
3435
--

0 commit comments

Comments
 (0)