Changeset 4340
- Timestamp:
- 10/13/03 11:40:12 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/j/src/org/armedbear/lisp/Primitives.java
r4339 r4340 3 3 * 4 4 * Copyright (C) 2002-2003 Peter Graves 5 * $Id: Primitives.java,v 1.47 1 2003-10-13 11:35:15piso Exp $5 * $Id: Primitives.java,v 1.472 2003-10-13 11:40:12 piso Exp $ 6 6 * 7 7 * This program is free software; you can redistribute it and/or … … 2207 2207 if (fun instanceof Symbol) 2208 2208 fun = fun.getSymbolFunction(); 2209 if (!(fun instanceof Function ))2209 if (!(fun instanceof Function || fun instanceof GenericFunction)) 2210 2210 throw new ConditionThrowable(new UndefinedFunction(first)); 2211 2211 // Second argument must be a list. … … 2235 2235 if (fun instanceof Symbol) 2236 2236 fun = fun.getSymbolFunction(); 2237 if (!(fun instanceof Function ))2237 if (!(fun instanceof Function || fun instanceof GenericFunction)) 2238 2238 throw new ConditionThrowable(new UndefinedFunction(first)); 2239 2239 // Remaining arguments must be lists. … … 2268 2268 if (fun instanceof Symbol) 2269 2269 fun = fun.getSymbolFunction(); 2270 if (!(fun instanceof Function ))2270 if (!(fun instanceof Function || fun instanceof GenericFunction)) 2271 2271 throw new ConditionThrowable(new UndefinedFunction(args[0])); 2272 2272 // Remaining arguments must be lists.
Note: See TracChangeset
for help on using the changeset viewer.