Added asserts.

This commit is contained in:
pq
2016-06-14 15:19:14 -07:00
parent 7a95548746
commit f5a4e63237
24 changed files with 50 additions and 8 deletions

View File

@@ -134,6 +134,7 @@ ApplicationPackage getApplicationPackageForPlatform(TargetPlatform platform) {
case TargetPlatform.linux_x64:
return null;
}
assert(platform != null);
return null;
}

View File

@@ -99,6 +99,7 @@ TargetPlatform getTargetPlatformForName(String platform) {
case 'linux-x64':
return TargetPlatform.linux_x64;
}
assert(platform != null);
return null;
}