Commit f03e839
authored
Fix splatnew test (#43835)
The function being tested currently throws:
```
julia> _construct_structwithsplatnew()
ERROR: TypeError: in new, expected Int64, got a value of type String
Stacktrace:
[1] StructWithSplatNew
@ ./REPL[15]:3 [inlined]
[2] _construct_structwithsplatnew()
@ Main ./REPL[16]:1
[3] top-level scope
@ REPL[18]:1
```
As a result, compiler precision improvements can cause the test
to fail, which is not intended. Fix the fieldtype of the struct
to make sure it doesn't throw.1 parent 8667272 commit f03e839
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3137 | 3137 | | |
3138 | 3138 | | |
3139 | 3139 | | |
3140 | | - | |
| 3140 | + | |
3141 | 3141 | | |
3142 | 3142 | | |
3143 | 3143 | | |
3144 | 3144 | | |
| 3145 | + | |
3145 | 3146 | | |
3146 | 3147 | | |
3147 | 3148 | | |
| |||
0 commit comments