;; -*-theme-*-

;; Copyright (C) 2015  Tommi Höynälänmaa
;; Distributed under GNU General Public License version 3,
;; see file doc/GPL-3.

;; Expected results: error (type mismatch)


(define-proper-program (tests test368)


  (import (standard-library core)
	  (standard-library console-io)
	  (examples assoc-sgn)
	  (tests test367))


  (define-param-proc my-proc (%key %value)
		     (((al (:assoc %key %value)) (obj-key %key))
		      <none> nonpure)
    (gen-assoc-set! al obj-key "def")
    (console-display-line (gen-assoc al obj-key)))


  (define-simple-proc main (() <none> nonpure)
    (let ((al ((param-proc-instance make-assoc-list <symbol> <string>))))
      (my-proc al 'abc))))

