dockimbel/Red — Issue #195: Incorrect/Duplicate warning messages about unnecessary cast
Author: PeterWAWood
Created: 2012-01-08 13:51:15+00:00
State: open

Under certain circumstances duplicate and incorrect:

Case 1

Code

```rebol
Red/System []

1000 = as integer! (1000 * #"^(01)")
```

Result

```
Compiling /Users/peter/Code/Red-System/test.reds ...
Script: "Red/System IA-32 code emitter" (none)
*** Warning: type casting from integer! to integer! is not necessary
*** in: %/Users/peter/Code/Red-System/test.reds
*** at: [(* 1000 #"^A")]
*** Warning: type casting from integer! to integer! is not necessary
*** in: %/Users/peter/Code/Red-System/test.reds
*** at: [(* 1000 #"^A")]
Script: "Red/System Mach-O format emitter" (none)

...compilation time: 94 ms
...linking time: 8 ms
...output file size: 16384 bytes
```