1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-14 15:40:19 +02:00

Deprecate passing a non-zero size to make-module

* module/ice-9/boot-9.scm (make-module): Issue a deprecation warning if
  users pass a non-zero size.
  (nested-define-module!, make-modules-in, beautify-user-module!)
  (resolve-interface, make-autoload-interface, %cond-expand-table):
* module/ice-9/popen.scm (port/pid-table):
* module/ice-9/session.scm (make-fold-modules):
* module/language/ecmascript/function.scm (*program-wrappers*):
* module/scripts/api-diff.scm (read-api-alist-file):
* module/srfi/srfi-10.scm (reader-ctors): Update callers.  Also remove
  some make-hash-table sizes.
This commit is contained in:
Andy Wingo 2019-09-27 22:28:34 +02:00
parent f62e19bd10
commit cc7d394490
8 changed files with 29 additions and 27 deletions

View file

@ -54,7 +54,7 @@
;; This hash table stores the association between comma-hash tags and
;; the corresponding constructor procedures.
;;
(define reader-ctors (make-hash-table 31))
(define reader-ctors (make-hash-table))
;; This procedure installs the procedure @var{proc} as the constructor
;; for the comma-hash tag @var{symbol}.