We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e51390 commit 5ce2a68Copy full SHA for 5ce2a68
doc/Guide.md
@@ -67,17 +67,14 @@ scala> metric"1"
67
```
68
69
```scala
70
-scala> val system = "http"
71
-system: String = http
72
-
73
scala> val subsystem = "requests"
74
subsystem: String = requests
75
76
77
scala> metric"${system}_${subsystem}_total"
78
<console>:18: error: Non-literal value supplied
79
metric"${system}_${subsystem}_total"
80
- ^
+ ^
81
82
83
### Creating a monitoring variable
doc/src/Guide.md
@@ -57,7 +57,6 @@ metric"1"
57
58
59
```tut
60
-val system = "http"
61
val subsystem = "requests"
62
63
```tut:fail
0 commit comments