lean2/tests/lean/run/568.lean
Leonardo de Moura f177082c3b refactor(*): normalize metaclass names
@avigad and @fpvandoorn, I changed the metaclasses names. They
were not uniform:
- The plural was used in some cases (e.g., [coercions]).
- In other cases a cryptic name was used (e.g., [brs]).

Now, I tried to use the attribute name as the metaclass name whenever
possible. For example, we write

   definition foo [coercion] ...
   definition bla [forward] ...

and

  open [coercion] nat
  open [forward] nat

It is easier to remember and is uniform.
2015-12-28 10:39:15 -08:00

15 lines
227 B
Text

namespace f1
definition flip := (20:num)
end f1
namespace f2
definition flip := (10:num)
end f2
namespace f3
export [declaration] f1
export - [declaration] f2
end f3
export [declaration] f1
export - [declaration] f2