infer argument type from javadoc param
diff --git a/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/InferTypesTests.java b/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/InferTypesTests.java
index 459fd47..4afa8c6 100644
--- a/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/InferTypesTests.java
+++ b/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/InferTypesTests.java
@@ -261,5 +261,26 @@
 				
 			 );
 		}
+		
+
+		public void test023() {
+			CompilationUnitDeclaration declaration = this.runInferTest(
+					 "/**\n"
+					+ " * @constructor \n"
+					+ " */\n"
+				+"function MyClass(){}"   
+			+ "/**\n"
+			+ " * @memberOf MyClass \n"
+			+ " * @param {Number} p1\n" 
+			+ " * @type String \n"
+			+ " */\n"
+			+"function foo(p1){};"   
+			+"\n",
+				"X.js",
+				"class MyClass extends Object{\n  MyClass()\n  String foo(Number p1)\n}\n",
+				getDefaultOptions()
+			 );
+		}
+		
 	
 }