package cases;

class Issue10194 extends DisplayTestCase {
	/**
		function f(a:Int, b:Int) {}

		function main() {
			var v = 10; // reported as "unused variable"
			f({-1-}""{-2-}, v);
		}
	**/
	function test() {
		arrayEq([
			{
				kind: DKCompilerError,
				severity: Error,
				code: null,
				range: diagnosticsRange(pos(1), pos(2)),
				relatedInformation: [],
				args: "String should be Int\nFor function argument 'a'"
			}
		], diagnostics());
	}
}
