diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-08-10 01:17:43 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-08-10 10:59:24 +0200 |
commit | e01ec05a1e7a937cfed13cb3a85f70e26950fdbf (patch) | |
tree | aab0582af3c3fe0586effe93c794bebeef26af18 /test/files | |
parent | 0e2080e8bf1c54cac59c5b0c53a93eb0de009d3b (diff) | |
download | scala-e01ec05a1e7a937cfed13cb3a85f70e26950fdbf.tar.gz scala-e01ec05a1e7a937cfed13cb3a85f70e26950fdbf.tar.bz2 scala-e01ec05a1e7a937cfed13cb3a85f70e26950fdbf.zip |
refines api.FlagSets
In the current vision of flags, they should only be used to construct trees,
because tests are subsumed by the numerous isXXX methods that we have.
Hence we need to remove `hasFlag` and the flags that don't make sense being
added to tree modifiers manually.
A good example of that is MODULE. There's an isModule check, so hasFlag MODULE
is redundant. On the other hand, you don't need MODULE to construct a ModuleDef
so it's redundant in this department as well.
Diffstat (limited to 'test/files')
0 files changed, 0 insertions, 0 deletions