JuliaLang/julia — Issue #258: behavior of attempting to redefine constants
Author: JeffBezanson
Created: 2011-11-11 20:30:46+00:00
State: open
Labels: enhancements

Often a source file might define some constants, and you want to reload it to change some function definitions, but the constants don't change. Maybe instead of an error, we should print a warning that the redefinitions were ignored. Same goes for type declarations.

Another way to approach this is to change loading behavior so that every expression in a file is evaluated even if some cause errors. Instead of stopping we show the exception and move on.