[Nice-commit] Nice/src/bossa/syntax pattern.nice,1.19,1.20
Brought to you by:
bonniot
From: Daniel B. <bo...@us...> - 2005-02-12 17:48:48
|
Update of /cvsroot/nice/Nice/src/bossa/syntax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29630/src/bossa/syntax Modified Files: pattern.nice Log Message: Make sure overrides can leave arguments with possibly-null types unspecified. Index: pattern.nice =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/syntax/pattern.nice,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** pattern.nice 17 Jan 2005 13:16:57 -0000 1.19 --- pattern.nice 12 Feb 2005 17:48:39 -0000 1.20 *************** *** 264,268 **** return new NotNullPattern(name: name, tc: nice.tools.typing.PrimitiveType.sureTC, loc: loc); ! if (tc == null) return new VariablePattern(name: name, loc: loc); --- 264,268 ---- return new NotNullPattern(name: name, tc: nice.tools.typing.PrimitiveType.sureTC, loc: loc); ! if (tc == null || !sure) return new VariablePattern(name: name, loc: loc); |