File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,23 @@ for certain sections of code.
136
136
= item X < B < variables > |variables>
137
137
L < Defined Variables Pragma|/language/variables#Default_Defined_Variables_Pragma >
138
138
139
- = item X < B < worries > |worries> [TBD]
139
+ = item X < B < worries > |worries>
140
+
141
+ Lexically controls whether compile-time warnings generated by the
142
+ compiler get shown. Enabled by default.
143
+
144
+ = begin code :lang<text>
145
+ $ perl6 -e 'say :foo<>.Pair'
146
+ Potential difficulties:
147
+ Pair with <> really means an empty list, not null string; use :foo('') to represent the null string,
148
+ or :foo() to represent the empty list more accurately
149
+ at -e:1
150
+ ------> say :foo<>⏏.Pair
151
+ foo => Nil
152
+
153
+ $ perl6 -e 'no worries; say :foo<>.Pair'
154
+ foo => Nil
155
+ =end
140
156
141
157
= item Other pragma under discussion
142
158
You can’t perform that action at this time.
0 commit comments