Commit Graph

65 Commits

Author SHA1 Message Date
Brian Norman 3eebeca753 Transform returnable blocks after inlining 2020-09-25 15:23:52 -05:00
Brian Norman 820ea18ebc Add a reproduction of #22 to the sample project 2020-09-25 15:15:36 -05:00
Brian Norman 4c29d2dbc7 Allow constants expression as argument to assertion function 2020-09-25 12:21:04 -05:00
Brian Norman bfba77a2b5 Prepare next development version 2020-09-14 20:23:04 -05:00
Brian Norman 9bdcdff63a Prepare for release 0.5.1 2020-09-14 20:12:44 -05:00
Brian Norman 89f1d5c0a6 Merge pull request #21 from bnorm/crlf
Remove carriage returns from source file text
2020-09-14 20:05:51 -05:00
Brian Norman 6de1f2ac1f Remove carriage returns from source file text
The Kotlin compiler removes carriage returns from the text of the file
when calculating the startOffset and endOffset properties for an
IrExpression. This causes the source snippet extraction to not work for
files with Windows-style line-separators.

Before pull substrings out of the file source string, remove all
carriages returns so the IrExpression offsets match the compiler.
2020-09-14 20:01:01 -05:00
Brian Norman 22a1e16324 Use build config for compiler plugin coordinates 2020-09-05 22:50:50 -05:00
Brian Norman 0de9c80ba6 Prepare next development version 2020-08-29 19:21:42 -05:00
Brian Norman a4c425bb2a Prepare for release 0.5.0 2020-08-29 19:13:52 -05:00
Brian Norman 65a8ce62c6 Merge pull request #19 from bnorm/kotlin-native
Kotlin/Native
2020-08-29 19:01:33 -05:00
Brian Norman cc35a072d8 Add Kotlin/Native specific plugin 2020-08-29 18:56:59 -05:00
Brian Norman 0b031872ac Move Kotlin compiler plugin module to different name 2020-08-29 18:45:06 -05:00
Brian Norman 8c0fc1d5e0 Update Gradle to version 6.6.1 2020-08-29 10:13:18 -05:00
Brian Norman eec846db65 Fix README Kotlin version 2020-08-20 19:44:46 -05:00
Brian Norman 2f4ef1dffb Prepare next development version 2020-08-20 19:42:29 -05:00
Brian Norman 581612e9cb Prepare for release 0.4.0 2020-08-20 19:39:26 -05:00
Brian Norman 9864949961 Merge pull request #17 from bnorm/kotlin-1.4
Kotlin 1.4
2020-08-20 19:27:23 -05:00
Brian Norman e6c0e694d4 Remove no longer needed kapt plugin 2020-08-20 19:19:09 -05:00
Brian Norman 30bcde9821 Fix as many deprecation errors as possible 2020-08-19 22:17:37 -05:00
Brian Norman c1a21b2aa2 Fix Gradle subplugin deprecation 2020-08-18 22:38:21 -05:00
Brian Norman 45568ff53d Get project passing unit tests with Kotlin 1.4 2020-08-18 21:47:10 -05:00
Brian Norman 1dd0fde6bc Update project for Kotlin 1.4-M2 2020-06-06 16:13:02 -05:00
Brian Norman 24d917ca90 Merge branch 'master' into kotlin-1.4-M1 2020-05-25 10:57:01 -05:00
Brian Norman 25722c0b54 Prepare next development version 2020-05-25 10:48:52 -05:00
Brian Norman 23de2963e9 Prepare for release 0.3.1 2020-05-25 10:46:03 -05:00
Brian Norman 98b191ce0f Merge pull request #14 from bnorm/default-functions
Fix default function for Gradle plugin
2020-05-25 10:33:30 -05:00
Brian Norman 5fef68a71b Fix default function for Gradle plugin 2020-05-25 10:30:22 -05:00
Brian Norman a758226611 Update project for Kotlin 1.4-M1 2020-03-23 13:43:39 -05:00
Brian Norman b82c822ad5 Merge pull request #11 from bnorm/bn/multiplatform
Update sample to be a multiplatform project
2020-03-10 16:07:14 -05:00
Brian Norman f0407e5ed9 Update sample to be a multiplatform project 2020-03-10 15:47:22 -05:00
Brian Norman 8fe3f112d1 Prepare next development version 2020-03-07 12:52:07 -06:00
Brian Norman b81d0a7542 Prepare for release 0.3.0 2020-03-07 12:46:45 -06:00
Brian Norman d8cb6b64bc Merge pull request #9 from bnorm/bn/kotlin_1.3.70
Update to Kotlin 1.3.70
2020-03-07 12:40:48 -06:00
Brian Norman 2ad1f1b327 Update to Kotlin 1.3.70 2020-03-07 12:19:59 -06:00
Brian Norman 7d4dc07cf9 Update sample project to the latest version of Gradle 2020-03-02 11:25:16 -06:00
Brian Norman f3da4ebeb3 Update to the latest version of Gradle 2020-03-02 11:20:24 -06:00
Brian Norman cf914a9bc0 Revert accidental test change 2020-02-12 22:35:04 -06:00
Brian Norman 165a3a5879 Add sample, composite, project to test Gradle plugin 2020-02-12 22:29:22 -06:00
Brian Norman d4548f789e Prepare next development version 2020-02-12 22:25:25 -06:00
Brian Norman 5e5083ef1c Prepare for release 0.2.0 2020-02-12 22:23:28 -06:00
Brian Norman 2547e49160 Support other functions which take a Boolean
Fixes #5
2020-02-11 22:45:55 -06:00
Brian Norman cd38dcd2c1 Support multi-line assertion expressions
Fixes #3
2020-02-10 16:31:26 -06:00
Brian Norman 2a9cf5bf49 Update README with latest release information 2020-02-10 09:27:03 -06:00
Brian Norman 7a9ea0ba18 Prepare next development version 2020-02-10 09:17:03 -06:00
Brian Norman 4664cdb577 Prepare for release 0.1.0 2020-02-10 09:06:51 -06:00
Brian Norman 77a387f06f Adjust display column based on infix operator
Fixes #2
2020-02-08 18:25:11 -06:00
Brian Norman 0225417ae7 Extract a more general power assert generator 2020-02-08 18:13:45 -06:00
Brian Norman 6a5c01bea4 Make sure expression are only called once when building stack 2020-02-08 14:12:23 -06:00
Brian Norman 9adb5ba4e8 Fix a few bugs in the temporary variable stack building 2020-02-08 13:22:17 -06:00