我将2.7.7 scala代码库移植到2.8版,并想知道是否有编译器选项来显示迁移通知?我被变化的行为改变了,它具有以下迁移注意事项[1],但是当我构建项目时(我已经弃用并且未经检查的警告已启用),它不会显示任何东西。启用迁移警告
1:@migration(2, 8, "As of 2.8, this operation creates a new map. To add an element as a\n"+ "side effect to an existing map and return that map itself, use +=." )
谢谢!很有帮助! – BenjaminJackman 2010-08-17 20:14:21