Skip to content

Commit f948329

Browse files
Update common-transformer.md
1 parent 22bcbf7 commit f948329

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/lab/smt/common-transformer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ nav:
1616

1717
下面是一个完整的例子,会将from中的类的对象,转化为to中的类的对象。
1818

19-
> from对象中多的字段会被在创建to被忽略,但少了则不行,无法转换到to,编译失败。
19+
> from对象中多的字段会被在创建to被忽略,但少了则不行,无法转换到to,编译失败,不过最新版本已经支持了设置默认值,设置后便能编译
2020
```scala
2121
object from {
2222

0 commit comments

Comments
 (0)