[minor] get rid of obsolete "environment" wording

This commit is contained in:
Ilya Chernikov
2018-11-28 11:15:51 +01:00
parent 0b9770f8d1
commit 77a4505ec2
@@ -51,7 +51,7 @@ interface GetScriptingClass {
// helper method
fun ScriptingHostConfiguration.getScriptingClass(type: KotlinType, contextClass: KClass<*>): KClass<*> {
val getClass = get(ScriptingHostConfiguration.getScriptingClass)
?: throw IllegalArgumentException("Expecting 'getScriptingClass' property in the scripting environment: unable to load scripting class $type")
?: throw IllegalArgumentException("Expecting 'getScriptingClass' property in the scripting host configuration: unable to load scripting class $type")
return getClass(type, contextClass, this)
}