forked fromdotnet/fsharp
- Notifications
You must be signed in to change notification settings - Fork0
Commit142c139
Allow to build LexBuffer from array without copying. (dotnet#4882)
* Allow to build LexBuffer from array without copying.All usages of FromChars seem to be taking a throw away array that caller don't keep a reference, usages found:src\fsharp\lex.fsl(155)src\fsharp\UnicodeLexing.fs(18)src\fsharp\UnicodeLexing.fs(68)src\fsharp\FSharp.Compiler.Private\lex.fs(154)tests\FSharp.Compiler.UnitTests\HashIfExpression.fs(71)* remove spurious semicolons in FromArrayNoCopy* removing spurious comments1 parent536f978 commit142c139
2 files changed
+12
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
149 | 148 | | |
150 | 149 | | |
151 | 150 | | |
| |||
155 | 154 | | |
156 | 155 | | |
157 | 156 | | |
158 | | - | |
159 | | - | |
| 157 | + | |
| 158 | + | |
160 | 159 | | |
161 | | - | |
162 | | - | |
163 | | - | |
| 160 | + | |
| 161 | + | |
164 | 162 | | |
165 | 163 | | |
166 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
167 | 171 | | |
168 | 172 | | |
169 | 173 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
0 commit comments
Comments
(0)