File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ Extended documentation for mathematical symbols & functions is :ref:`here <mathe
11
11
``! `` prefix "not" operator
12
12
``a!( ) `` at the end of a function name, `! ` indicates that a function modifies its argument(s)
13
13
``# `` begin single line comment
14
- ``#= `` begin multi-line comment
14
+ ``#= `` begin multi-line comment (these are nestable)
15
15
``=# `` end multi-line comment
16
16
``$ `` xor operator, string and expression interpolation
17
17
``% `` remainder operator
Original file line number Diff line number Diff line change @@ -1454,3 +1454,8 @@ x6074 = 6074
1454
1454
test5536 (a:: Union(Real, AbstractArray) ...) = " Splatting"
1455
1455
test5536 (a:: Union(Real, AbstractArray) ) = " Non-splatting"
1456
1456
@test test5536 (5 ) == " Non-splatting"
1457
+
1458
+ # multiline comments (#6139 and others raised in #6128)
1459
+ @test 3 == include_string (" 1 + #=# 2" ) == include_string (" 1 + #==# 2" ) == include_string (" 1 + #===# 2" ) == include_string (" 1 + #= #= blah =# =# 2" ) == include_string (" 1 + #= #= #= nested =# =# =# 2" )
1460
+ @test_throws include_string (" #=" )
1461
+ @test_throws include_string (" #= #= #= =# =# =" )
You can’t perform that action at this time.
0 commit comments