Skip to content

Commit 5371c4d

Browse files
eregonandrykonchin
authored andcommitted
Remove old rb_scan_args() warning from 2.7
1 parent eb5a9cf commit 5371c4d

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

lib/cext/ABI_check.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3
1+
4

lib/cext/include/truffleruby/truffleruby.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,6 @@ static inline int rb_tr_scan_args_kw_int(int kw_flag, int argc, VALUE *argv, str
278278
if (parse_data.rest || argc <= n_mand + n_opt) {
279279
parse_data.kwargs = false;
280280
erased_kwargs = true;
281-
rb_warn("The last argument is nil, treating as empty keywords");
282281
}
283282
}
284283
else {

spec/tags/optional/capi/util_tags.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ fails:C-API Util function rb_scan_args rejects the use of nil as a hash
22
fails:C-API Util function rb_scan_args does not reject non-symbol keys in keyword arguments
33
fails:C-API Util function rb_scan_args does not reject non-symbol keys in keyword arguments with required argument
44
fails:C-API Util function rb_scan_args considers keyword arguments with non-symbol keys as keywords when using splat and post arguments
5-
fails:C-API Util function rb_scan_args assigns optional arguments with no hash argument given and rejects the use of optional nil argument as a hash

0 commit comments

Comments
 (0)