Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Carl Shapiro
cmucl
Commits
4b63f45d
Commit
4b63f45d
authored
32 years ago
by
ram
Browse files
Options
Downloads
Patches
Plain Diff
In ENSURE-STRUCTURE-CLASS, don't check for inconsistency if
not *type-system-initialized*.
parent
feed46d9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
code/defstruct.lisp
+14
-9
14 additions, 9 deletions
code/defstruct.lisp
with
14 additions
and
9 deletions
code/defstruct.lisp
+
14
−
9
View file @
4b63f45d
...
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/defstruct.lisp,v 1.37.1.1
2
1993/02/17 1
7
:1
0:58
ram Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/defstruct.lisp,v 1.37.1.1
3
1993/02/17 1
8
:1
8:30
ram Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -1102,14 +1102,19 @@
#+
ns-boot
(
when
(
and
old-layout
(
not
(
layout-info
old-layout
)))
(
setf
(
layout-info
old-layout
)
info
))
(
if
(
or
(
not
old-layout
)
(
let
((
old-info
(
layout-info
old-layout
)))
(
or
(
redefine-layout-warning
old-layout
old-context
new-layout
new-context
)
(
not
(
defstruct-description-p
old-info
))
(
redefine-structure-warning
class
old-info
info
))))
(
values
class
new-layout
old-layout
)
(
values
class
old-layout
old-layout
)))))
(
cond
((
not
*type-system-initialized*
)
(
setf
(
layout-info
old-layout
)
info
)
(
values
class
old-layout
old-layout
))
((
or
(
not
old-layout
)
(
let
((
old-info
(
layout-info
old-layout
)))
(
or
(
redefine-layout-warning
old-layout
old-context
new-layout
new-context
)
(
not
(
defstruct-description-p
old-info
))
(
redefine-structure-warning
class
old-info
info
))))
(
values
class
new-layout
old-layout
))
(
t
(
values
class
old-layout
old-layout
))))))
;;; COMPARE-SLOTS -- Internal
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment