Number: 1020 Date: 8-May-84 9':57':26 Submitter: Roach.pa Source: Roach.pa Subject: Want record package to add typecheck in ACCESSFNS of DATATYPEs Assigned To: Attn: Masinter Status: Open In/By: Problem Type: Design - UI Impact: Annoying Difficulty: Moderate Frequency: Everytime Priority: System: Programming Environment Subsystem: Record Package Machine: Disk: Lisp Version: Source Files: Microcode Version: Memory Size: File Server: Server Software Version: Disposition: ' ["masinter" "14-Sep-84 15':14':51" Attn': Status':(Declined->Open) Problem% Type':(Bug->Design% -% UI) Difficulty':(Hard->Moderate)] Description: If you have a record declaration such as' (DATATYPE FOO (BAR COUGH)' (ACCESSFNS ((MEEF (\ADDBASE DATUM 2)))))' then Interlisp will not complain if you try' (fetch (FOO MEEF) of NIL).' Would it not be better if taking the MEEF of a non-FOO generated the same kind of error that taking the BAR of a non-FOO would generate?' Workaround: (DATATYPE FOO (BAR COUGH) (ACCESSFNS ((MEEF (\ADDBASE (\DTEST DATUM ''FOO) 2))))) -- do the type check yourself. I can think of some situations where you wouldn''t want it. Test Case: Edit-By: masinter Edit-Date: 14-Sep-84 15':14':52