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
7d79a3b7
Commit
7d79a3b7
authored
33 years ago
by
ram
Browse files
Options
Downloads
Patches
Plain Diff
Changed FTYPE proclaim to ignore slot accessors, instead of undefining
the structure.
parent
2a2c11b2
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
compiler/proclaim.lisp
+9
-5
9 additions, 5 deletions
compiler/proclaim.lisp
with
9 additions
and
5 deletions
compiler/proclaim.lisp
+
9
−
5
View file @
7d79a3b7
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
;;;
(
ext:file-comment
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/proclaim.lisp,v 1.1
8
1991/
05/28 17:54
:5
9
ram Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/proclaim.lisp,v 1.1
9
1991/
11/08 15:23
:5
0
ram Exp $"
)
;;;
;;;
;;; **********************************************************************
;;; **********************************************************************
;;;
;;;
...
@@ -325,10 +325,14 @@
...
@@ -325,10 +325,14 @@
(
error
"Declared functional type is not a function type: ~S."
(
error
"Declared functional type is not a function type: ~S."
(
first
args
)))
(
first
args
)))
(
dolist
(
name
(
rest
args
))
(
dolist
(
name
(
rest
args
))
(
define-function-name
name
)
(
cond
((
info
function
accessor-for
name
)
(
note-name-defined
name
:function
)
(
warn
"Ignoring FTYPE declaration for slot accesor:~% ~S"
(
setf
(
info
function
type
name
)
type
)
name
))
(
setf
(
info
function
where-from
name
)
:declared
)))))
(
t
(
define-function-name
name
)
(
note-name-defined
name
:function
)
(
setf
(
info
function
type
name
)
type
)
(
setf
(
info
function
where-from
name
)
:declared
)))))))
(
freeze-type
(
freeze-type
(
dolist
(
type
args
)
(
dolist
(
type
args
)
(
specifier-type
type
)
; Give undefined type warnings...
(
specifier-type
type
)
; Give undefined type warnings...
...
...
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