Commit 624df419 authored by Noric Couderc's avatar Noric Couderc
Browse files

Merge branch 'master' of

Fixed error reporting
parents beae7432 ec9e0e67
......@@ -206,7 +206,9 @@ class FeatureSet(vararg features : Feature) : ArrayList<Feature>() {
fun checked() : FeatureSet {
val featuresChecked = this.partition { it.isSupported() }
if (!featuresChecked.second.isEmpty()) {
System.err.println("[WARNING]: Some features have been dropped, they are not supported on this machine: ${featuresChecked.second}")
return FeatureSet(*featuresChecked.first.toTypedArray())
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment