mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-17 21:32:25 +02:00
(system base types) knows about variables
* module/system/base/types.scm (%tc7-variable): New tc7. (cell->object): Handle tc7-variable. * test-suite/tests/types.test ("opaque objects"): Add a test.
This commit is contained in:
parent
acd2c8e36a
commit
6cd1c6c79c
2 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
;;;; types.test --- Type tag decoding. -*- mode: scheme; coding: utf-8; -*-
|
||||
;;;;
|
||||
;;;; Copyright (C) 2014 Free Software Foundation, Inc.
|
||||
;;;; Copyright (C) 2014, 2015 Free Software Foundation, Inc.
|
||||
;;;;
|
||||
;;;; This file is part of GNU Guile.
|
||||
;;;;
|
||||
|
@ -103,6 +103,7 @@
|
|||
((open-input-string "hello") port (? integer?))
|
||||
((lambda () #t) program _)
|
||||
((the-vm) vm _)
|
||||
((make-variable 'foo) variable _)
|
||||
((make-weak-vector 3 #t) weak-vector _)
|
||||
((make-hash-table) hash-table _)
|
||||
((make-weak-key-hash-table) hash-table _)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue