Skip to content

Commit abd449a

Browse files
authored
Multi-arity methods for deftype forms (#536)
* Reorganize * Change FnMethod to FnArity to better reflect its purpose * Multi-arity methods for deftype * Appease our linting overlord * Fix node defs for 3.6 * Do a thing * How 'bout that? * Fix some tests * Fix properties * This is very bad * I do not know what is going on * ooooooh k * Fix it * More test cases * Static method tests * Just like home * automatic for the people * method test * Last cases * Changelog
1 parent 06da141 commit abd449a

File tree

8 files changed

+1493
-418
lines changed

8 files changed

+1493
-418
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
* Added support for `future`s (#441)
1010
* Added support for calling Python functions and methods with keyword arguments (#531)
1111
* Added support for Lisp functions being called with keyword arguments (#528)
12+
* Added support for multi-arity methods on `deftype`s (#534)
1213

1314
### Fixed
1415
* Fixed a bug where the Basilisp AST nodes for return values of `deftype` members could be marked as _statements_ rather than _expressions_, resulting in an incorrect `nil` return (#523)

docs/reference.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ Reference
1010
specialforms
1111
compiler
1212
pyinterop
13+
typesandrecords
1314
cli

docs/typesandrecords.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
.. _types_and_records:
2+
3+
Data Types and Records
4+
======================
5+
6+
7+
.. contents::
8+
:depth: 2
9+
10+
Data Types
11+
----------
12+
13+
14+
Records
15+
-------
16+

0 commit comments

Comments
 (0)