; Two parameters of the same kind get different scopes by name. ; expect: run ; grant: config=fs.read:/etc/app ; grant: data=fs.read:/var/data ; result: 1 ; phase: 2 ; spec: docs/spec/05-effects-and-capabilities.md module test.two_scopes air 0 lang 0.1 features [capabilities, effects, ownership] fn @main(%config: cap, %data: cap) -> u8 effects [fs.read] entry: %v = const.u8 1 ret %v