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
c92e8e92
Commit
c92e8e92
authored
34 years ago
by
ram
Browse files
Options
Downloads
Patches
Plain Diff
Fixed some broken declrations.
parent
02c785c6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
compiler/ctype.lisp
+3
-3
3 additions, 3 deletions
compiler/ctype.lisp
with
3 additions
and
3 deletions
compiler/ctype.lisp
+
3
−
3
View file @
c92e8e92
...
@@ -100,7 +100,7 @@
...
@@ -100,7 +100,7 @@
(
strict-result
nil
)
(
strict-result
nil
)
((
:error-function
*error-function*
))
((
:error-function
*error-function*
))
((
:warning-function
*warning-function*
)))
((
:warning-function
*warning-function*
)))
(
declare
(
function
result-test
)
(
type
combination
call
)
(
declare
(
type
function
result-test
)
(
type
combination
call
)
(
type
function-type
type
))
(
type
function-type
type
))
(
let*
((
*lossage-detected*
nil
)
(
let*
((
*lossage-detected*
nil
)
(
*slime-detected*
nil
)
(
*slime-detected*
nil
)
...
@@ -219,7 +219,7 @@
...
@@ -219,7 +219,7 @@
;;; the type specified for that argument. If we can't tell, then we complain
;;; the type specified for that argument. If we can't tell, then we complain
;;; about the slime.
;;; about the slime.
;;;
;;;
(
proclaim
'
(
function
check-fixed-and-rest
(
list
list
(
or
type
null
))
void
))
(
proclaim
'
(
function
check-fixed-and-rest
(
list
list
(
or
c
type
null
))
void
))
(
defun
check-fixed-and-rest
(
args
types
rest
)
(
defun
check-fixed-and-rest
(
args
types
rest
)
(
do
((
arg
args
(
cdr
arg
))
(
do
((
arg
args
(
cdr
arg
))
(
type
types
(
cdr
type
))
(
type
types
(
cdr
type
))
...
@@ -271,8 +271,8 @@
...
@@ -271,8 +271,8 @@
;;; the result continuation, assuming that IR1 optimize and Type check have
;;; the result continuation, assuming that IR1 optimize and Type check have
;;; made this be a good description of the return type.
;;; made this be a good description of the return type.
;;;
;;;
(
proclaim
'
(
function
lambda-result-type
(
lambda
)
type
))
(
defun
lambda-result-type
(
lambda
)
(
defun
lambda-result-type
(
lambda
)
(
declare
(
type
clambda
lambda
))
(
let
((
ret
(
lambda-return
lambda
)))
(
let
((
ret
(
lambda-return
lambda
)))
(
if
ret
(
if
ret
(
continuation-derived-type
(
return-result
ret
))
(
continuation-derived-type
(
return-result
ret
))
...
...
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