Sam Tobin-Hochstadt
e855755349
Update HISTORY for 6.5.
2016-04-18 17:29:37 -04:00
Alex Knauth
bacc1b3411
Fix type of syntax->list ( #348 )
...
* Fix type of syntax->list
to return `(U False (Listof (Syntaxof Any)))` if it can't prove that the input is a syntax-list.
Fixes https://github.com/racket/typed-racket/issues/347
This makes the type `syntax->list` consistent with the type `stx->list` already has.
* Add tests for syntax->list
2016-04-16 20:18:59 -04:00
ben
f820fac6a0
regression tests
...
For github issues 111 113 114 115
2016-04-11 17:27:19 -04:00
Vincent St-Amour
b352739131
Always populate type table, regardless of optimizer status.
...
Closes #343 .
2016-04-11 14:43:44 -05:00
Matthew Flatt
a906b1c172
fix documented library name
2016-04-08 19:11:06 -06:00
Asumu Takikawa
cea5091ee6
Fix struct name in Struct type representation
...
Closes issue #304
2016-04-07 21:49:50 -04:00
WarGrey Gyoudmon Ju
65441301c2
Add typed/images/logos and typed/images/icons without #:material support
2016-04-07 17:03:05 -04:00
Asumu Takikawa
acef58a5d0
Add an extra test for new random case
2016-04-07 17:00:13 -04:00
Asumu Takikawa
7e3178798b
Update the type of random
for ranges
...
Also simplify redundant cases
2016-04-07 15:23:06 -04:00
Asumu Takikawa
1a11ac53e2
Add typed/racket/random, bump version
2016-04-07 15:03:57 -04:00
Georges Dupéron
e33c902842
Remove debugging output from test case in typed-racket-test/succeed/define-typed-untyped-identifier-syntax-properties.rkt
2016-04-07 16:47:17 +02:00
Asumu Takikawa
2fc669e136
Adjust error message for test
...
Needed to change due to recent syntax-parse changes
2016-04-07 00:58:09 -04:00
WarGrey Gyoudmon Ju
0d45168aee
Fixup wrong type definition: set-caret-owner, it needs (Instance Snip%)
2016-04-07 09:33:46 +08:00
WarGrey Gyoudmon Ju
bf24ebdd65
Fixup a typo in the definition of (make-font); Fixup the wrong definition of (get-filename); Provide editor-snip% with Editor-Snip%
2016-04-06 16:25:28 -04:00
Vincent St-Amour
6dc5b1a994
Fix optimizer test for changes to syntax-parse.
2016-04-06 12:06:42 -05:00
Georges Dupéron
4ab256abf2
Fixes GH issue #315 Syntax properties are not forwarded by define-typed/untyped-identifier
, following @samth's suggestions.
2016-04-06 12:06:42 -05:00
Asumu Takikawa
b869f18f1c
Make contracted unit tests pass
2016-03-31 11:57:54 -04:00
Sam Tobin-Hochstadt
900d2b0be0
add missing require
2016-03-29 07:24:51 -04:00
Asumu Takikawa
9ec358b665
Update type-table after tc-funapp processing
...
This makes the tooltip show the more refined function
type after application typechecking. For example, case->
types will be narrowed to the particular case that fits.
Polymorphic function types will be instantiated at the
appropriate type.
Fixes issue #325
2016-03-28 17:53:34 -04:00
Asumu Takikawa
cffad4df74
Move possible-domains/cleanup-type to new file
...
This avoids circular dependencies in preparation
for adding calls to type-table functions from
tc-app-helper.
2016-03-28 17:53:34 -04:00
Sam Tobin-Hochstadt
7572adb9c2
Fix use of simple-result->
to check the domains.
...
This broke pict3d, but also disabled some contract checks that
should have been kept.
2016-03-28 17:11:37 -04:00
Asumu Takikawa
812f1a8c79
Add types for box-cas!, unsafe-box*-cas!
2016-03-23 16:02:22 -04:00
Vincent St-Amour
495da1bd1a
Bring `tc-#%expression in line with its contract.
2016-03-21 14:21:57 -05:00
Sam Tobin-Hochstadt
8d5d7bea7a
Use simple-result->
on [0,3]-arg functions.
...
The included microbenchmark shows a 2x speedup on 0-argument
functions. Motivated by the sieve benchmark from [Takikawa et al,
POPL 2016].
2016-03-18 17:13:34 -04:00
Asumu Takikawa
49f20aa7ed
Fix incorrect function signature
...
(the standard fish is happy now)
2016-03-18 11:30:05 -04:00
Daniel Feltey
425ff47700
Raise errors when signatures are not in the signature environment while typechecking
...
Closes #319
2016-03-12 16:39:39 -06:00
Asumu Takikawa
d23e05f2c3
Escape "~" in tc-error/fields arguments
...
Fixes issue #314
2016-03-02 04:43:34 -05:00
Georges Dupéron
350a8bb74e
Changed how arguments and other pieces of information are printed, to follow the error message conventions, as suggested by samth in PR #250 .
...
* PR #250 : https://github.com/racket/typed-racket/pull/250
* Error message conventions: http://docs.racket-lang.org/reference/exns.html?q=raise-arg#%28part._err-msg-conventions%29
2016-03-01 15:19:09 -06:00
Stephen Chang
5d8949654e
add more hash seq ids to base special env
...
sync with commit 3e29101e48
2016-02-24 15:28:38 -05:00
Asumu Takikawa
72927e2248
Add the rest of Racket's exn hierarchy
2016-02-21 12:20:40 -05:00
Asumu Takikawa
a90f6c46eb
Add exn:break:hang-up and exn:break:terminate
2016-02-21 02:48:45 -05:00
Sam Tobin-Hochstadt
79ccd77c6d
Create issue_template.md
2016-02-17 14:51:06 -05:00
WarGrey Gyoudmon Ju
e0d067c99a
Fixup wrong type definitions. (set/get-keymap) and (get-snipclass)
2016-02-16 16:47:05 -06:00
Stephen Chang
e1b9c06d5c
remove old in-hash- private ids
2016-02-06 12:49:50 -05:00
Stephen Chang
c19fac7fd5
add ids from in-hash- expansion to special-env
...
- fixes test failures due to 048c4b4a73
- add in-hash- tests
2016-02-05 18:26:03 -05:00
ben
89a58bf670
vscoll -> vscroll
2016-02-04 17:24:25 -05:00
Sam Tobin-Hochstadt
0bfaa75bcf
Add test for test-case
from typed/rackunit
.
2016-02-02 08:21:02 -05:00
Sam Tobin-Hochstadt
23bda72953
Add missing function to typed/rackunit
implementation.
...
Repairs 10dc53375
. Found by the "semver" package.
Merge to 6.4.
2016-02-01 21:34:10 -05:00
Sam Tobin-Hochstadt
5f35f447b5
TR History
2016-02-01 14:43:16 -05:00
Vincent St-Amour
32d0a97058
Add contract profiling instrumentation to combinators defined by TR.
2016-01-27 16:01:07 -06:00
Stephen Chang
2e7a045012
bump version to support extra hash-iterate ops
2016-01-27 10:32:55 -05:00
Stephen Chang
3a245a27e0
fix type of hash-iterate-key+value
2016-01-26 17:06:33 -05:00
Stephen Chang
c35716d461
add hash-iterate-pair and hash-iterate-key+value
...
closes #299
2016-01-26 10:21:05 -05:00
Sam Tobin-Hochstadt
9ba130976c
Fix hash iteration types for HashTableTop.
2016-01-23 11:56:51 -05:00
Asumu Takikawa
0308a229ed
Ensure define-typed-struct/exec has a Procedure
...
Fixes issue #293
2016-01-22 13:43:03 -05:00
Vincent St-Amour
f53314a21c
Fix optimizer tests for nw, optimized hash iteration (in Racket).
2016-01-19 15:40:31 -06:00
Sam Tobin-Hochstadt
8ca2af0f8c
Fix simple-result-> when passed a keyword-accepting procedure.
2016-01-17 17:55:46 -05:00
Asumu Takikawa
bad5a35291
Fix type of file-position
...
Closes issue #297
2016-01-17 16:38:21 -05:00
Sam Tobin-Hochstadt
838431c176
Add the simple-result->
combinator to Typed Racket.
...
This is used for functions with a single argument imported with
`require/typed`, and avoids unneccessary checks. This produces a
3x speedup on the following benchmark:
#lang racket/base
(module m racket/base
(provide f)
(define (f x) x))
(module n typed/racket/base
(require/typed
(submod ".." m)
[f (-> Integer Integer)])
(time
(for ([x (in-range 1000000)])
(f 1) (f 2) (f 3) (f 4))))
(require 'n)
on top of the previous improvment from using `unsafe-procedure-chaperone`
and `procedure-result-arity`.
2016-01-16 22:27:18 -05:00
Asumu Takikawa
7217e2e531
Fix name argument for dtsi/exec
...
Looks like this got typoed in commit a3ca5aeefc
Closes issue #291
2016-01-15 11:58:38 -05:00