Skip to content

Commit 738fcd3

Browse files
authored
Document the why of sequence
1 parent 77f98dc commit 738fcd3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/stdlib_string_type.f90

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ module stdlib_string_type
3030

3131
!> String type holding an arbitrary sequence of characters.
3232
type :: string_type
33+
! Use the sequence statement below as a hack to prevent extending this type.
34+
! It is not used for storage association.
3335
sequence
3436
private
3537
character(len=:), allocatable :: raw

0 commit comments

Comments
 (0)