File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
main/kotlin/com/emberjs/gts
test/kotlin/com/emberjs/gts Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -934,7 +934,7 @@ class SimpleAstNode: ASTNode {
934934 }
935935
936936 override fun getPsi (): PsiElement ? {
937- TODO ( " Not yet implemented " )
937+ return null
938938 }
939939
940940 override fun <T : PsiElement ?> getPsi (p0 : Class <T ?>): T ? {
Original file line number Diff line number Diff line change @@ -141,6 +141,11 @@ class GtsFormatIdentTest : BasePlatformTestCase() {
141141 </template>;
142142
143143 class Foo {
144+ get value() {
145+ return this.args.values
146+ .filter(value => typeof value === 'string') // ignore non-string values
147+ .find(value => value.startsWith(this.args.name));
148+ }
144149 <template>
145150 Hi
146151 </template>
@@ -219,6 +224,12 @@ class GtsFormatIdentTest : BasePlatformTestCase() {
219224 </template>;
220225
221226 class Foo {
227+ get value() {
228+ return this.args.values
229+ .filter(value => typeof value === 'string') // ignore non-string values
230+ .find(value => value.startsWith(this.args.name));
231+ }
232+
222233 <template>
223234 Hi
224235 </template>
You can’t perform that action at this time.
0 commit comments