Browse Source

fixed TestType after disallowing `var v:Void`

Aleksandr Kuzmenko 6 years ago
parent
commit
4ca9128c17
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/unit/src/unit/TestType.hx

+ 2 - 2
tests/unit/src/unit/TestType.hx

@@ -474,8 +474,8 @@ class TestType extends Test {
 
 	function testInline()
 	{
-		typedAs(inlineTest1([1]), var void:Void);
-		typedAs(inlineTest2([1]), var void:Void);
+		typedAs(inlineTest1([1]), (function():Void{})());
+		typedAs(inlineTest2([1]), (function():Void{})());
 	}
 
 	inline function inlineTest1<T>(map:Array<T>) {