Skip to content

Commit b37228f

Browse files
committed
Check that previously valid syntax still works
1 parent 5e56ece commit b37228f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/reg-tests-1d.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5928,6 +5928,9 @@ for (s in c(
59285928
'1__23', '0x1__23'
59295929
)) assertErrV(str2lang(s))
59305930

5931+
# Previously valid syntax, shouldn't be parsed as a numeric literal
5932+
stopifnot(is.symbol(quote(._1)))
5933+
59315934
## fisher.test() with "too full" table: PR#18336
59325935
d <- matrix(c(1,0,5,2,1,90
59335936
,2,1,0,2,3,89

0 commit comments

Comments
 (0)