REBOL3 tracker
  0.9.12 beta
Ticket #0001835 User: anonymous

Project:



rss
TypeWish Statustested Date24-Jan-2011 01:47
Versionalpha 110 CategoryNative Submitted byBrianH
PlatformAll Severityminor Prioritynormal

Summary Remove the ALIAS function
Description ALIAS in R3 provides external access to the internal aliasing facility that is used to implement case insensitivity of words. Aliasing can be proven to be safe when used for case insensitivity, but has many problems when used between word spellings that differ by something other than case. See #341, #1163, #1164 and #1165 for details.

In R2 ALIAS could be used as a (bad) way to internationalize REBOL code. In R3 even that doesn't work, partly because system/words doesn't exist anymore. With modules we have much better ways to internationalize code if we have to, so the downsides of ALIAS aren't worth it anymore.

This is not a proposal to remove the internal aliasing facility, including the STRICT-* and /case consideration of it. This is just a request to get rid of the ALIAS function if it is just a wrapper for that facility. If the ALIAS function is used internally and so can't be removed, put it in the sys context and hide it with PROTECT-SYSTEM, since some of the problems it causes are security bugs.

Also, dismiss #1212.
Example code

			

Assigned ton/a Fixed inalpha 111 Last Update26-Feb-2011 01:12


Comments

Date User Field Action Change
26-Feb-2011 01:12 BrianH Status Modified built => tested
30-Jan-2011 20:24 carl Fixedin Modified => alpha 111
30-Jan-2011 20:24 carl Status Modified reviewed => built
30-Jan-2011 18:26 carl Description Modified -
30-Jan-2011 18:26 carl Status Modified submitted => reviewed
24-Jan-2011 01:47 BrianH Ticket Added -