Commit a8145f0
committed
Fixed [error] Cannot pass a value of type
```
lib/ruby_header_parser/parser.rb:289:8: [error] Cannot pass a value of type `(::Symbol | nil)` as an argument of type `(:ref | :array | nil)`
│ (::Symbol | nil) <: (:ref | :array | nil)
│ ::Symbol <: (:ref | :array | nil)
│ ::Symbol <: :ref
│
│ Diagnostic ID: Ruby::ArgumentTypeMismatch
│
└ pointer:,
~~~~~~~
```(::Symbol | nil) as an argument of type (:ref | :array | nil)
1 parent 1ed7ca6 commit a8145f0
File tree
3 files changed
+11
-8
lines changed- lib/ruby_header_parser
- sig/ruby_header_parser
3 files changed
+11
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | 332 | | |
336 | 333 | | |
337 | 334 | | |
338 | | - | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
339 | 342 | | |
340 | 343 | | |
341 | 344 | | |
342 | 345 | | |
343 | 346 | | |
344 | 347 | | |
345 | 348 | | |
346 | | - | |
| 349 | + | |
347 | 350 | | |
348 | 351 | | |
349 | 352 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
0 commit comments