REBOL3 tracker
  0.9.12 beta
Ticket #0001905 User: anonymous

Project:



Short URL: http://issue.cc/r3/1905
rss
TypeBug Statussubmitted Date18-Feb-2012 11:39
Versionalpha 112 CategorySyntax Submitted byLadislav
PlatformAll Severityminor Prioritynormal

Summary Invalid path problem
Description While the first example below is an invalid path, the second one is allowed. To remain consistent the second example should be a syntax error as well, at least in my opinion. Also the decimal example exhibits a different behaviour than tuples.
Example code
>> load "a/"
** Syntax error: invalid "path" -- "a/"
** Where: to case load
** Near: (line 1) a/

>> load "1.2.3/"
== [1.2.3 /]

>> load "1.2/"
** Syntax error: invalid "decimal" -- "1.2"
** Where: to case load
** Near: (line 1) 1.2/

Assigned ton/a Fixed in- Last Update21-Feb-2012 01:35


Comments

Date User Field Action Change
21-Feb-2012 01:35 Ladislav Description Modified -
21-Feb-2012 01:34 Ladislav Description Modified -
21-Feb-2012 01:34 Ladislav Code Modified -
18-Feb-2012 11:39 Ladislav Ticket Added -